diff --git a/source/blender/gpu/tests/shaders/gpu_compute_ibo_test.glsl b/source/blender/gpu/tests/shaders/gpu_compute_ibo_test.glsl index 94c281720b9..1ed50ff4180 100644 --- a/source/blender/gpu/tests/shaders/gpu_compute_ibo_test.glsl +++ b/source/blender/gpu/tests/shaders/gpu_compute_ibo_test.glsl @@ -1,5 +1,5 @@ void main() { - uint store_index = int(gl_GlobalInvocationID.x); + int store_index = int(gl_GlobalInvocationID.x); out_indices[store_index] = store_index; } diff --git a/source/blender/gpu/tests/shaders/gpu_compute_vbo_test.glsl b/source/blender/gpu/tests/shaders/gpu_compute_vbo_test.glsl index e8d2eb9201b..cca235da985 100644 --- a/source/blender/gpu/tests/shaders/gpu_compute_vbo_test.glsl +++ b/source/blender/gpu/tests/shaders/gpu_compute_vbo_test.glsl @@ -1,6 +1,6 @@ void main() { - uint index = gl_GlobalInvocationID.x; + int index = gl_GlobalInvocationID.x; vec4 pos = vec4(gl_GlobalInvocationID.x); out_positions[index] = pos; }