summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_fs.cpp
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-08-21 20:00:30 -0700
committerJason Ekstrand <[email protected]>2017-11-07 10:37:52 -0800
commitd4de813d86c38121649f11306080ebda193236a0 (patch)
tree1d837a82c46f3b2e257f42be9c7fa75cc525382a /src/intel/compiler/brw_fs.cpp
parentb1a9cdede4b500560ba6b44761296f09b4a7558f (diff)
intel/cs: Stop setting dispatch_grf_start_reg
Nothing ever reads it for compute shaders because it's always 1. Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_fs.cpp')
-rw-r--r--src/intel/compiler/brw_fs.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp
index bb5f696d87a..978bc9ecca5 100644
--- a/src/intel/compiler/brw_fs.cpp
+++ b/src/intel/compiler/brw_fs.cpp
@@ -6866,7 +6866,6 @@ brw_compile_cs(const struct brw_compiler *compiler, void *log_data,
cfg = v8.cfg;
cs_set_simd_size(prog_data, 8);
cs_fill_push_const_info(compiler->devinfo, prog_data);
- prog_data->base.dispatch_grf_start_reg = v8.payload.num_regs;
}
}
@@ -6894,7 +6893,6 @@ brw_compile_cs(const struct brw_compiler *compiler, void *log_data,
cfg = v16.cfg;
cs_set_simd_size(prog_data, 16);
cs_fill_push_const_info(compiler->devinfo, prog_data);
- prog_data->dispatch_grf_start_reg_16 = v16.payload.num_regs;
}
}