mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-15 08:20:07 +00:00
Appease tests that check for exact matches and not equivalent semantics.
This commit is contained in:
parent
d63751a5a3
commit
e00e5b3b2c
@ -17,7 +17,7 @@ struct main0_in
|
||||
vertex main0_out main0(main0_in in [[stage_in]])
|
||||
{
|
||||
main0_out out = {};
|
||||
out.gl_Position = float4(float(in.gl_BaseVertex), float(in.gl_BaseInstance), 0, 1);
|
||||
out.gl_Position = float4(float(in.gl_BaseVertex), float(in.gl_BaseInstance), 0.0f, 1.0f);
|
||||
return out;
|
||||
}
|
||||
|
||||
|
@ -3,5 +3,7 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(float(gl_BaseVertexARB), float(gl_BaseInstanceARB), float(gl_DrawIDARB), 1);
|
||||
gl_Position = vec4(float(gl_BaseVertexARB), float(gl_BaseInstanceARB), float(gl_DrawIDARB), 1.0);
|
||||
}
|
||||
|
||||
|
||||
|
@ -2,5 +2,7 @@
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = vec4(float(gl_BaseVertex), float(gl_BaseInstance), float(gl_DrawID), 1);
|
||||
gl_Position = vec4(float(gl_BaseVertex), float(gl_BaseInstance), float(gl_DrawID), 1.0);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user