GPU: Fix incorrect datatype conversions in test case shaders.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user