Appease tests that check for exact matches and not equivalent semantics.

This commit is contained in:
Chip Davis 2018-08-29 13:53:12 -05:00
parent d63751a5a3
commit e00e5b3b2c
3 changed files with 7 additions and 3 deletions

View File

@ -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;
}

View File

@ -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);
}

View File

@ -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);
}