diff options
author | Kenneth Graunke <[email protected]> | 2014-08-29 23:10:47 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-08-31 17:03:31 -0700 |
commit | 70691f0c283ec4e03523f3a4690d9b897b36872e (patch) | |
tree | ce67c66e628b65667c179de6a2f77d11a0e436a1 | |
parent | 88cbe3908f0ea08228a5ffb1808f98b6906c4416 (diff) |
i965: Fix GPU hangs when INTEL_DEBUG=no16 is set.
The replicated data clear shader needs to be SIMD16, or else the GPU
will hang. So, compile it even if INTEL_DEBUG=no16 is set.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index f52b7305b11..e700ef6e63a 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -3411,7 +3411,8 @@ brw_wm_fs_emit(struct brw_context *brw, cfg_t *simd16_cfg = NULL; fs_visitor v2(brw, mem_ctx, key, prog_data, prog, fp, 16); - if (brw->gen >= 5 && likely(!(INTEL_DEBUG & DEBUG_NO16))) { + if (brw->gen >= 5 && likely(!(INTEL_DEBUG & DEBUG_NO16) || + brw->use_rep_send)) { if (!v.simd16_unsupported) { /* Try a SIMD16 compile */ v2.import_uniforms(&v); |