aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_fs.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-08-21 19:16:45 -0700
committerJason Ekstrand <[email protected]>2017-11-07 10:37:52 -0800
commit1077981eb56f63b595c3bd74ab8af2e11af2a8eb (patch)
tree67ef00750ffd4e4bb6464db0d74ae9d9369f9c9e /src/intel/compiler/brw_fs.h
parentb299ded02eccfa94aede65086bd1ad254aaa5180 (diff)
intel/fs: Remove min_dispatch_width from fs_visitor
It's 8 for everything except compute shaders. For compute shaders, there's no need to duplicate the computation and it's just a possible source of error. Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_fs.h')
-rw-r--r--src/intel/compiler/brw_fs.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/intel/compiler/brw_fs.h b/src/intel/compiler/brw_fs.h
index b070d3888eb..da3259323ec 100644
--- a/src/intel/compiler/brw_fs.h
+++ b/src/intel/compiler/brw_fs.h
@@ -99,9 +99,9 @@ public:
bool run_tcs_single_patch();
bool run_tes();
bool run_gs();
- bool run_cs();
+ bool run_cs(unsigned min_dispatch_width);
void optimize();
- void allocate_registers(bool allow_spilling);
+ void allocate_registers(unsigned min_dispatch_width, bool allow_spilling);
void setup_fs_payload_gen4();
void setup_fs_payload_gen6();
void setup_vs_payload();
@@ -364,7 +364,6 @@ public:
bool spilled_any_registers;
const unsigned dispatch_width; /**< 8, 16 or 32 */
- unsigned min_dispatch_width;
unsigned max_dispatch_width;
int shader_time_index;