mesa: change GL_MAX_COMPUTE_WORK_GROUP_COUNT to UINT
AMD wants to report UINT32_MAX here. Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16881>
This commit is contained in:
+2
-2
@@ -2856,8 +2856,8 @@ find_value_indexed(const char *func, GLenum pname, GLuint index, union value *v)
|
||||
goto invalid_enum;
|
||||
if (index >= 3)
|
||||
goto invalid_value;
|
||||
v->value_int = ctx->Const.MaxComputeWorkGroupCount[index];
|
||||
return TYPE_INT;
|
||||
v->value_uint = ctx->Const.MaxComputeWorkGroupCount[index];
|
||||
return TYPE_UINT;
|
||||
|
||||
case GL_MAX_COMPUTE_WORK_GROUP_SIZE:
|
||||
if (!_mesa_has_compute_shaders(ctx))
|
||||
|
||||
Reference in New Issue
Block a user