hdrtest: Smaller patches for measurement

This commit is contained in:
Joshua Ashton 2023-05-10 18:38:36 +00:00
parent 55b54e9ddc
commit 1b26727244
1 changed files with 12 additions and 3 deletions

View File

@ -125,19 +125,28 @@ void main()
{
// PQ (10 bits) PQ (normalize) nits
// 520 0.5083088954056696 100.229885531
outColor = vec4(vec3(0.5083088954056696), 1.0f);
if (gl_FragCoord.x >= 1280 / 3 && gl_FragCoord.x <= 1280 * 2 / 3 && gl_FragCoord.y >= 720 / 3 && gl_FragCoord.y <= 720 * 2 / 3)
outColor = vec4(vec3(0.5083088954056696), 1.0f);
else
outColor = vec4(0.0f, 0.0f, 0.0f, 1.0f);
}
else if (test == nextTest++)
{
// PQ (10 bits) PQ (normalize) nits
// 692 0.6764418377321603 499.337816742
outColor = vec4(vec3(0.6764418377321603), 1.0f);
if (gl_FragCoord.x >= 1280 / 3 && gl_FragCoord.x <= 1280 * 2 / 3 && gl_FragCoord.y >= 720 / 3 && gl_FragCoord.y <= 720 * 2 / 3)
outColor = vec4(vec3(0.6764418377321603), 1.0f);
else
outColor = vec4(0.0f, 0.0f, 0.0f, 1.0f);
}
else if (test == nextTest++)
{
// PQ (10 bits) PQ (normalize) nits
// 769 0.7517106549364614 998.932391045
outColor = vec4(vec3(0.7517106549364614), 1.0f);
if (gl_FragCoord.x >= 1280 / 3 && gl_FragCoord.x <= 1280 * 2 / 3 && gl_FragCoord.y >= 720 / 3 && gl_FragCoord.y <= 720 * 2 / 3)
outColor = vec4(vec3(0.7517106549364614), 1.0f);
else
outColor = vec4(0.0f, 0.0f, 0.0f, 1.0f);
}
else if (test == nextTest++)
{