Home
last modified time | relevance | path

Searched refs:g_color_eps (Results 1 – 12 of 12) sorted by relevance

/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureGatherTests.cpp62g_color_eps = Vec4(1.f / (float)(1 << pixelFormat.redBits), 1.f / (float)(1 << pixelFormat.greenBi… in TGBase()
68 Vec4 g_color_eps; member in gl4cts::__anon63f735c70111::TGBase
974 if (!ColorEqual(data, Expected(), g_color_eps)) in Verify()
979 …<< data.z() << ", " << data.w() << ", epsilon: " << g_color_eps.x() << ", " << g_color_eps.y() << … in Verify()
980 << g_color_eps.z() << ", " << g_color_eps.w() << tcu::TestLog::EndMessage; in Verify()
1110 if (!ColorEqual(data[0], Expected(), g_color_eps)) in VerifyCompute()
3298 if (!ColorEqual(data, Vec4(0, 1, 0, 1), g_color_eps)) in Run()
3302 …<< data.z() << ", " << data.w() << ", epsilon: " << g_color_eps.x() << ", " << g_color_eps.y() << … in Run()
3303 << g_color_eps.z() << ", " << g_color_eps.w() << tcu::TestLog::EndMessage; in Run()
3455 if (!ColorEqual(data, Vec4(0, 1, 0, 1), g_color_eps)) in Run()
[all …]
Dgl4cComputeShaderTests.cpp72 g_color_eps = vec4(1.f / ((float)(1 << pixelFormat.redBits) - 1.0f), in ComputeShaderBase()
80 g_color_eps = vec4(1.f / ((float)(1 << pixelFormat.redBits) - 1.0f), in ComputeShaderBase()
87 g_color_eps = vec4(epsilon_zero); in ComputeShaderBase()
93 vec4 g_color_eps; member in gl4cts::__anon2be2c54f0111::ComputeShaderBase
289 if (!ColorEqual(display[j * w + i], expected, g_color_eps)) in ValidateReadBuffer()
320 if (!ColorEqual(fb[idx], expected, g_color_eps)) in ValidateReadBufferCenteredQuad()
327 if (!ColorEqual(fb[2 * width + 2], vec3(0), g_color_eps)) in ValidateReadBufferCenteredQuad()
331 if (!ColorEqual(fb[2 * width + (width - 3)], vec3(0), g_color_eps)) in ValidateReadBufferCenteredQuad()
335 if (!ColorEqual(fb[(height - 3) * width + (width - 3)], vec3(0), g_color_eps)) in ValidateReadBufferCenteredQuad()
339 if (!ColorEqual(fb[(height - 3) * width + 2], vec3(0), g_color_eps)) in ValidateReadBufferCenteredQuad()
[all …]
Dgl4cES31CompatibilityShaderStorageBufferObjectTests.cpp272 …vec3 g_color_eps = vec3(1.f / (float)(1 << pixelFormat.redBits), 1.f / (float)(1 << pixelFormat.gr… in CheckFB() local
282 if (fabs(fb[i + 0] / g_color_max[0] - expected[0]) > g_color_eps[0] || in CheckFB()
283 fabs(fb[i + 1] / g_color_max[1] - expected[1]) > g_color_eps[1] || in CheckFB()
284 fabs(fb[i + 2] / g_color_max[2] - expected[2]) > g_color_eps[2]) in CheckFB()
301 …vec3 g_color_eps = vec3(1.f / (float)(1 << pixelFormat.redBits), 1.f / (float)(1 << pixelFormat.gr… in ValidateWindow4Quads() local
319 if (!ColorEqual(x, y, c, lb, g_color_eps, g_color_max)) in ValidateWindow4Quads()
339 if (!ColorEqual(x, y, c, rb, g_color_eps, g_color_max)) in ValidateWindow4Quads()
359 if (!ColorEqual(x, y, c, rt, g_color_eps, g_color_max)) in ValidateWindow4Quads()
379 if (!ColorEqual(x, y, c, lt, g_color_eps, g_color_max)) in ValidateWindow4Quads()
399 if (!ColorEqual(x, y, c, vec3(0), g_color_eps, g_color_max)) in ValidateWindow4Quads()
[all …]
Dgl4cShaderImageSizeTests.cpp204 vec4 g_color_eps = vec4( in ValidateReadBuffer() local
216 if (!ColorEqual(fb[idx], expected, g_color_eps)) in ValidateReadBuffer()
Dgl4cShaderStorageBufferObjectTests.cpp384 vec4 g_color_eps = vec4( in ValidateReadBuffer() local
396 if (!ColorEqual(display[j * w + i], expected, g_color_eps)) in ValidateReadBuffer()
415 vec4 g_color_eps = vec4( in ValidateWindow4Quads() local
433 if (!ColorEqual(fb[idx], lb, g_color_eps)) in ValidateWindow4Quads()
456 if (!ColorEqual(fb[idx], rb, g_color_eps)) in ValidateWindow4Quads()
479 if (!ColorEqual(fb[idx], rt, g_color_eps)) in ValidateWindow4Quads()
502 if (!ColorEqual(fb[idx], lt, g_color_eps)) in ValidateWindow4Quads()
525 if (!ColorEqual(fb[idx], vec3(0), g_color_eps)) in ValidateWindow4Quads()
548 if (!ColorEqual(fb[idx], vec3(0), g_color_eps)) in ValidateWindow4Quads()
Dgl4cVertexAttribBindingTests.cpp116 Vec4 g_color_eps = Vec4( in CheckRectColor() local
125 if (!ColorEqual(fb[idx], expected, g_color_eps)) in CheckRectColor()
143 Vec4 g_color_eps = Vec4( in CheckRectColor() local
152 if (!ColorEqual(fb[idx], expected, g_color_eps)) in CheckRectColor()
Dgl4cES31CompatibilityShaderImageLoadStoreTests.cpp247 …vec4 g_color_eps = vec4(1.f / (float)(1 << pixelFormat.redBits), 1.f / (float)(1 << pixelFormat.gr… in CheckFB() local
257 if (fabs(fb[i + 0] / g_color_max[0] - expected[0]) > g_color_eps[0] || in CheckFB()
258 fabs(fb[i + 1] / g_color_max[1] - expected[1]) > g_color_eps[1] || in CheckFB()
259 fabs(fb[i + 2] / g_color_max[2] - expected[2]) > g_color_eps[2]) in CheckFB()
Dgl4cShaderImageLoadStoreTests.cpp290 vec4 g_color_eps = vec4( in ValidateReadBuffer() local
302 if (!ColorEqual(fb[idx], expected, g_color_eps)) in ValidateReadBuffer()
2061 vec4 g_color_eps = vec4( in Read() local
2071 if (!ColorEqual(result, vec4(0, 1, 0, 1), g_color_eps)) in Read()
/external/deqp/external/openglcts/modules/gles31/
Des31cComputeShaderTests.cpp68 g_color_eps = vec4(1.f / (1 << 13)); in ComputeShaderBase()
71 g_color_eps.x() += 1.f / (static_cast<float>(1 << pixelFormat.redBits) - 1.0f); in ComputeShaderBase()
75 g_color_eps.y() += 1.f / (static_cast<float>(1 << pixelFormat.greenBits) - 1.0f); in ComputeShaderBase()
79 g_color_eps.z() += 1.f / (static_cast<float>(1 << pixelFormat.blueBits) - 1.0f); in ComputeShaderBase()
83 g_color_eps.w() += 1.f / (static_cast<float>(1 << pixelFormat.alphaBits) - 1.0f); in ComputeShaderBase()
89 vec4 g_color_eps; member in glcts::__anon85f048800111::ComputeShaderBase
284 if (!ColorEqual(display[j * w + i], expected, g_color_eps)) in ValidateReadBuffer()
322 if (!ColorEqual(fb[idx], expected, g_color_eps)) in ValidateReadBufferCenteredQuad()
329 if (!ColorEqual(fb[2 * width + 2], vec3(0), g_color_eps)) in ValidateReadBufferCenteredQuad()
333 if (!ColorEqual(fb[2 * width + (width - 3)], vec3(0), g_color_eps)) in ValidateReadBufferCenteredQuad()
[all …]
Des31cShaderStorageBufferObjectTests.cpp267 vec3 g_color_eps = vec3(1.f / static_cast<float>(1 << pixelFormat.redBits), in CheckFB() local
278 if (fabs(fb[i + 0] / g_color_max[0] - expected[0]) > g_color_eps[0] || in CheckFB()
279 fabs(fb[i + 1] / g_color_max[1] - expected[1]) > g_color_eps[1] || in CheckFB()
280 fabs(fb[i + 2] / g_color_max[2] - expected[2]) > g_color_eps[2]) in CheckFB()
297 vec3 g_color_eps = vec3(1.f / static_cast<float>(1 << pixelFormat.redBits), in ValidateWindow4Quads() local
316 if (!ColorEqual(x, y, c, lb, g_color_eps, g_color_max)) in ValidateWindow4Quads()
336 if (!ColorEqual(x, y, c, rb, g_color_eps, g_color_max)) in ValidateWindow4Quads()
356 if (!ColorEqual(x, y, c, rt, g_color_eps, g_color_max)) in ValidateWindow4Quads()
376 if (!ColorEqual(x, y, c, lt, g_color_eps, g_color_max)) in ValidateWindow4Quads()
396 if (!ColorEqual(x, y, c, vec3(0), g_color_eps, g_color_max)) in ValidateWindow4Quads()
[all …]
Des31cVertexAttribBindingTests.cpp210 Vec3 g_color_eps = Vec3(1.f / static_cast<float>(1 << pixelFormat.redBits), in CheckFB() local
221 if (fabs(fb[i + 0] / g_color_max[0] - expected[0]) > g_color_eps[0] || in CheckFB()
222 fabs(fb[i + 1] / g_color_max[1] - expected[1]) > g_color_eps[1] || in CheckFB()
223 fabs(fb[i + 2] / g_color_max[2] - expected[2]) > g_color_eps[2]) in CheckFB()
Des31cShaderImageLoadStoreTests.cpp241 vec4 g_color_eps = vec4(1.f / static_cast<float>(1 << pixelFormat.redBits), in CheckFB() local
252 if (fabs(fb[i + 0] / g_color_max[0] - expected[0]) > g_color_eps[0] || in CheckFB()
253 fabs(fb[i + 1] / g_color_max[1] - expected[1]) > g_color_eps[1] || in CheckFB()
254 fabs(fb[i + 2] / g_color_max[2] - expected[2]) > g_color_eps[2]) in CheckFB()