diff options
author | Jordan Justen <[email protected]> | 2016-05-18 12:04:03 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2016-05-27 16:44:00 -0700 |
commit | 47e2a57fe955c04763c979ff4ca61c6867fa05bb (patch) | |
tree | 6dd03ad01bc043cfde23d082117fb9ce9da515ab /src/mesa/drivers | |
parent | 65d4ba6f20a70eb741318ef0c712c834adc233e1 (diff) |
i965/compute: Fix uniform init issue when SIMD8 is skipped
In d8347f12ead89c5a58f69ce9283a54ac8487159c, we added support for
skipping SIMD8 generation when the program local size is too large for
SIMD8 to be usable. This change was missed in that commit.
This bug would impact gen7 platforms when the compute shader local
size is greater than 512, and gen8 platforms when the local size is
greater than 448.
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp index e7e0ee12b90..954bfab8575 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp @@ -181,7 +181,7 @@ fs_visitor::nir_setup_outputs() void fs_visitor::nir_setup_uniforms() { - if (dispatch_width != 8) + if (dispatch_width != min_dispatch_width) return; uniforms = nir->num_uniforms / 4; |