diff options
author | Jason Ekstrand <[email protected]> | 2017-08-21 19:16:45 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-11-07 10:37:52 -0800 |
commit | 1077981eb56f63b595c3bd74ab8af2e11af2a8eb (patch) | |
tree | 67ef00750ffd4e4bb6464db0d74ae9d9369f9c9e /src/intel/compiler/brw_fs.h | |
parent | b299ded02eccfa94aede65086bd1ad254aaa5180 (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.h | 5 |
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; |