summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-10-14 16:40:04 -0700
committerJason Ekstrand <[email protected]>2015-01-15 07:18:59 -0800
commitae2880d131e3197114940fc7028397079840f97d (patch)
treeb6fab871a40b6e184df37b141eca92e07bb0bbe3 /src
parent2faf7f87d6a1c00b3f3d3907178a2eeeefa5d2a9 (diff)
i965/fs: Only use nir for 8-wide non-fast-clear shaders.
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp3
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 9057a85e229..cb699d379fa 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -3743,7 +3743,8 @@ fs_visitor::run_fs()
* functions called "main").
*/
if (shader) {
- if (getenv("INTEL_USE_NIR") != NULL) {
+ if (getenv("INTEL_USE_NIR") != NULL && !brw->use_rep_send) {
+ no16("Cannot do 16-wide in NIR yet");
emit_nir_code();
} else {
foreach_in_list(ir_instruction, ir, shader->base.ir) {