anv: use UINT32_MAX to be consistent

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31799>
This commit is contained in:
Lionel Landwerlin
2024-10-23 11:43:01 +03:00
committed by Marge Bot
parent b4ae8cf381
commit 68a372f6ce
+1 -1
View File
@@ -428,7 +428,7 @@ emit_compute_walker(struct anv_cmd_buffer *cmd_buffer,
uint32_t num_workgroup_data[3];
if (!anv_address_is_null(indirect_addr)) {
uint64_t indirect_addr64 = anv_address_physical(indirect_addr);
num_workgroup_data[0] = 0xffffffff;
num_workgroup_data[0] = UINT32_MAX;
num_workgroup_data[1] = indirect_addr64 & 0xffffffff;
num_workgroup_data[2] = indirect_addr64 >> 32;
} else {