i965: Use correct constant for max_variable_local_size
Fixes: 5664bd6db3
("i965: Implement ARB_compute_variable_group_size")
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4799>
This commit is contained in:
parent
91375f13ce
commit
882928dcaa
|
@ -116,7 +116,7 @@ brw_codegen_cs_prog(struct brw_context *brw,
|
|||
if (nir->info.cs.local_size_variable) {
|
||||
prog_data.uses_variable_group_size = true;
|
||||
nir->info.cs.max_variable_local_size =
|
||||
gl_ctx->Const.MaxComputeWorkGroupSize[2];
|
||||
gl_ctx->Const.MaxComputeVariableGroupInvocations;
|
||||
} else {
|
||||
prog_data.uses_variable_group_size = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue