VK-GL-CTS Issue: 3250
Affects:
dEQP-VK.graphicsfuzz.cov-fragcoord-bitwise-and-loop-reduce-value-index-array
dEQP-VK.graphicsfuzz.cov-loop-exit-conditions-sampler-struct-integer-variable
Components: Vulkan
Change-Id: I49732c8c9fa77c6fa1a044f1cb846f655a65c1cc
void main()
{
_GLF_color = vec4(
- gl_FragCoord.x * (1.0 / 256.0),
- (int(gl_FragCoord.x) ^ int(gl_FragCoord.y)) * (1.0 / 256.0),
- gl_FragCoord.y * (1.0 / 256.0),
+ floor(gl_FragCoord.x) * (1.0 / 255.0),
+ (int(gl_FragCoord.x) ^ int(gl_FragCoord.y)) * (1.0 / 255.0),
+ floor(gl_FragCoord.y) * (1.0 / 255.0),
1.0);
}
END
void main()
{
_GLF_color = vec4(
- gl_FragCoord.x * (1.0 / 256.0),
- (int(gl_FragCoord.x) ^ int(gl_FragCoord.y)) * (1.0 / 256.0),
- gl_FragCoord.y * (1.0 / 256.0),
+ floor(gl_FragCoord.x) * (1.0 / 255.0),
+ (int(gl_FragCoord.x) ^ int(gl_FragCoord.y)) * (1.0 / 255.0),
+ floor(gl_FragCoord.y) * (1.0 / 255.0),
1.0);
}
END