mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 02:00:12 +01:00
i965/compute: Fix uniform init issue when SIMD8 is skipped
In d8347f12ea, 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 <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
65d4ba6f20
commit
47e2a57fe9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue