/external/angle/src/tests/gl_tests/ |
D | MultisampledRenderToTextureTest.cpp | 764 GLint colorUniformLocation = in TEST_P() local 766 ASSERT_NE(colorUniformLocation, -1); in TEST_P() 777 glUniform4f(colorUniformLocation, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P() 788 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P() 1209 GLint colorUniformLocation = in drawCopyThenBlendCommon() local 1211 ASSERT_NE(colorUniformLocation, -1); in drawCopyThenBlendCommon() 1213 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in drawCopyThenBlendCommon() 1229 glUniform4f(colorUniformLocation, 0.0f, 1.0f, 0.0f, 0.5f); in drawCopyThenBlendCommon() 1286 GLint colorUniformLocation = in clearDrawCopyThenBlendSameProgramCommon() local 1288 ASSERT_NE(colorUniformLocation, -1); in clearDrawCopyThenBlendSameProgramCommon() [all …]
|
D | DiscardFramebufferEXTTest.cpp | 127 GLint colorUniformLocation = in TEST_P() local 129 ASSERT_NE(-1, colorUniformLocation); in TEST_P() 143 glUniform4fv(colorUniformLocation, 1, GLColor::cyan.toNormalizedVector().data()); in TEST_P() 163 GLint colorUniformLocation; in TEST_P() local 188 colorUniformLocation = glGetUniformLocation(program, angle::essl1_shaders::ColorUniform()); in TEST_P() 189 ASSERT_NE(-1, colorUniformLocation); in TEST_P() 205 glUniform4fv(colorUniformLocation, 1, GLColor::blue.toNormalizedVector().data()); in TEST_P() 224 glUniform4fv(colorUniformLocation, 1, GLColor::red.toNormalizedVector().data()); in TEST_P()
|
D | VulkanPerformanceCounterTest.cpp | 277 GLint colorUniformLocation = in TEST_P() local 279 ASSERT_NE(-1, colorUniformLocation); in TEST_P() 302 glUniform4fv(colorUniformLocation, 1, GLColor::blue.toNormalizedVector().data()); in TEST_P() 1548 GLint colorUniformLocation = in TEST_P() local 1550 ASSERT_NE(-1, colorUniformLocation); in TEST_P() 1558 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P() 1588 glUniform4f(colorUniformLocation, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P() 1702 GLint colorUniformLocation = in TEST_P() local 1704 ASSERT_NE(-1, colorUniformLocation); in TEST_P() 1712 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P() [all …]
|
D | ParallelShaderCompileTest.cpp | 235 GLint colorUniformLocation = in runAndVerify() local 237 ASSERT_NE(colorUniformLocation, -1); in runAndVerify() 239 glUniform4fv(colorUniformLocation, 1, normalizeColor.data()); in runAndVerify()
|
D | TransformFeedbackTest.cpp | 3128 GLint colorUniformLocation = in TEST_P() local 3130 ASSERT_NE(colorUniformLocation, -1); in TEST_P() 3150 glUniform4f(colorUniformLocation, 0.1f, 0.2f, 0.3f, 0.4f); in TEST_P() 3177 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P() 3188 glUniform4f(colorUniformLocation, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P() 3194 glUniform4f(colorUniformLocation, 0.1f, 0.2f, 0.3f, 0.4f); in TEST_P() 3210 glUniform4f(colorUniformLocation, 1.0f, 1.0f, 0.0f, 1.0f); in TEST_P() 3223 glUniform4f(colorUniformLocation, 0.0f, 1.0f, 1.0f, 1.0f); in TEST_P() 3290 GLint colorUniformLocation = in TEST_P() local 3292 ASSERT_NE(colorUniformLocation, -1); in TEST_P() [all …]
|
D | VulkanUniformUpdatesTest.cpp | 125 GLint colorUniformLocation = glGetUniformLocation(program, "uniColor"); in TEST_P() local 126 ASSERT_NE(colorUniformLocation, -1); in TEST_P() 133 glUniform4f(colorUniformLocation, 1.0, 0.0, 0.0, 1.0); in TEST_P()
|
D | StateChangeTest.cpp | 979 GLint colorUniformLocation = in TEST_P() local 981 ASSERT_NE(colorUniformLocation, -1); in TEST_P() 1007 glUniform4f(colorUniformLocation, 0.125f, 0.25f, 0.5f, 0.5f); in TEST_P() 1524 GLint colorUniformLocation = in blendAndVerifyColor() local 1526 ASSERT_NE(colorUniformLocation, -1); in blendAndVerifyColor() 1528 glUniform4f(colorUniformLocation, blendColor.R, blendColor.G, blendColor.B, blendColor.A); in blendAndVerifyColor() 1826 GLint colorUniformLocation = in TEST_P() local 1828 ASSERT_NE(colorUniformLocation, -1); in TEST_P() 1830 glUniform4f(colorUniformLocation, 1.0f, 1.0f, 1.0f, 1.0f); in TEST_P() 1852 glUniform4f(colorUniformLocation, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P() [all …]
|
D | ClearTest.cpp | 412 GLint colorUniformLocation = in TEST_P() local 414 ASSERT_NE(colorUniformLocation, -1); in TEST_P() 416 glUniform4f(colorUniformLocation, 1.0f, 1.0f, 1.0f, 0.5f); in TEST_P() 2180 GLint colorUniformLocation = in TEST_P() local 2182 ASSERT_NE(colorUniformLocation, -1); in TEST_P() 2185 glUniform4f(colorUniformLocation, 0.0f, 0.0f, 1.0f, 0.5f); in TEST_P() 2225 GLint colorUniformLocation = in TEST_P() local 2227 ASSERT_NE(colorUniformLocation, -1); in TEST_P() 2239 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 0.5f); in TEST_P()
|
D | FramebufferTest.cpp | 491 GLint colorUniformLocation = in TEST_P() local 493 ASSERT_NE(colorUniformLocation, -1); in TEST_P() 517 glUniform4f(colorUniformLocation, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P() 535 glUniform4f(colorUniformLocation, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P() 3006 GLint colorUniformLocation = in TEST_P() local 3008 ASSERT_NE(colorUniformLocation, -1); in TEST_P() 3013 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P() 3025 glUniform4f(colorUniformLocation, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P() 3035 glUniform4f(colorUniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P() 3044 glUniform4f(colorUniformLocation, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P() [all …]
|
D | GeometryShaderTest.cpp | 1071 GLint colorUniformLocation = in verifyLayeredFramebufferDepthStencil() local 1073 ASSERT_NE(colorUniformLocation, -1); in verifyLayeredFramebufferDepthStencil() 1106 glUniform4f(colorUniformLocation, 0.1f, 0.2f, 0.3f, 0.4f); in verifyLayeredFramebufferDepthStencil() 1110 glUniform4f(colorUniformLocation, 0.5f, 0.6f, 0.7f, 0.8f); in verifyLayeredFramebufferDepthStencil()
|
D | MemoryBarrierTest.cpp | 2618 GLint colorUniformLocation = in framebufferBitImageWriteThenDraw() local 2620 ASSERT_NE(colorUniformLocation, -1); in framebufferBitImageWriteThenDraw() 2629 glUniform4fv(colorUniformLocation, 1, kBlendData.data()); in framebufferBitImageWriteThenDraw()
|
/external/OpenCL-CTS/test_common/gl/ |
D | helpers.cpp | 1197 GLint colorUniformLocation = glGetUniformLocation(prog, "colorVal"); in CreateGLTexture2DMultisample() local 1200 glUniform1i(colorUniformLocation, color * 0x7f); in CreateGLTexture2DMultisample() 1203 glUniform1i(colorUniformLocation, color * 0x7fff); in CreateGLTexture2DMultisample() 1206 glUniform1i(colorUniformLocation, color * 0x7fffffff); in CreateGLTexture2DMultisample() 1209 glUniform1ui(colorUniformLocation, color * 0xff); in CreateGLTexture2DMultisample() 1212 glUniform1ui(colorUniformLocation, color * 0xffff); in CreateGLTexture2DMultisample() 1215 glUniform1ui(colorUniformLocation, color * 0xffffffff); in CreateGLTexture2DMultisample() 1218 glUniform1f(colorUniformLocation, color); in CreateGLTexture2DMultisample() 1458 GLint colorUniformLocation = glGetUniformLocation(prog, "colorVal"); in CreateGLTexture2DArrayMultisample() local 1461 glUniform1i(colorUniformLocation, val * 0x7f); in CreateGLTexture2DArrayMultisample() [all …]
|