GPU: Fix incorrect datatype conversions in test case shaders.
This commit is contained in:
parent
11d8965da1
commit
307113d744
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue