spirv/cl: add enqueued workgroup size.
Unless the non uniform work group extension is supported, this just aliases workgroupsize, so just do that for now. Fixes: CL CTS basic enqueued_local_size Reviewed-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7642>
This commit is contained in:
@@ -915,6 +915,7 @@ vtn_get_builtin_location(struct vtn_builder *b,
|
||||
set_mode_system_value(b, mode);
|
||||
break;
|
||||
case SpvBuiltInWorkgroupSize:
|
||||
case SpvBuiltInEnqueuedWorkgroupSize:
|
||||
*location = SYSTEM_VALUE_LOCAL_GROUP_SIZE;
|
||||
set_mode_system_value(b, mode);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user