Skip to content
Snippets Groups Projects
Commit 882928dc authored by Caio Oliveira's avatar Caio Oliveira Committed by Marge Bot
Browse files

i965: Use correct constant for max_variable_local_size


Fixes: 5664bd6d ("i965: Implement ARB_compute_variable_group_size")
Reviewed-by: default avatarJordan Justen <jordan.l.justen@intel.com>
Part-of: <mesa/mesa!4799>
parent 91375f13
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment