Home
last modified time | relevance | path

Searched refs:color_max (Results 1 - 2 of 2) sorted by relevance

/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cShaderStorageBufferObjectTests.cpp245 bool ColorEqual(int x, int y, const vec3& c0, const vec3& expected, const vec3& epsilon, const vec3& color_max) in ColorEqual() argument
248 if (fabs(c0[0] / color_max[0] - expected[0]) > epsilon[0]) in ColorEqual()
250 if (fabs(c0[1] / color_max[1] - expected[1]) > epsilon[1]) in ColorEqual()
252 if (fabs(c0[2] / color_max[2] - expected[2]) > epsilon[2]) in ColorEqual()
258 << c0[0] / color_max[0] << " " << c0[1] / color_max[1] << " " << c0[2] / color_max[2] in ColorEqual()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cES31CompatibilityShaderStorageBufferObjectTests.cpp249 bool ColorEqual(int x, int y, const vec3& c0, const vec3& expected, const vec3& epsilon, const vec3& color_max) in ColorEqual() argument
252 if (fabs(c0[0] / color_max[0] - expected[0]) > epsilon[0]) in ColorEqual()
254 if (fabs(c0[1] / color_max[1] - expected[1]) > epsilon[1]) in ColorEqual()
256 if (fabs(c0[2] / color_max[2] - expected[2]) > epsilon[2]) in ColorEqual()
262 << c0[0] / color_max[0] << " " << c0[1] / color_max[1] << " " << c0[2] / color_max[2] in ColorEqual()

Completed in 23 milliseconds