/external/deqp/modules/gles3/functional/ |
D | es3fShaderMetamorphicTests.cpp | 137 int uniformLoc = gl.getUniformLocation(program.getProgram(), "injectionSwitch"); in render() local 138 if (uniformLoc != -1) in render() 139 gl.uniform2f(uniformLoc, 0.0f, 1.0f); in render() 141 uniformLoc = gl.getUniformLocation(program.getProgram(), "resolution"); in render() 142 if (uniformLoc != -1) in render() 143 gl.uniform2f(uniformLoc, glw::GLfloat(img.getWidth()), glw::GLfloat(img.getHeight())); in render() 145 uniformLoc = gl.getUniformLocation(program.getProgram(), "mouse"); in render() 146 if (uniformLoc != -1) in render() 147 gl.uniform2f(uniformLoc, 0.0f, 0.0f); in render() 149 uniformLoc = gl.getUniformLocation(program.getProgram(), "time"); in render() [all …]
|
/external/angle/src/tests/gl_tests/ |
D | WebGLFramebufferTest.cpp | 31 void drawUByteColorQuad(GLuint program, GLint uniformLoc, const GLColor &color); 215 GLint uniformLoc, in drawUByteColorQuad() argument 220 glUniform4fv(uniformLoc, 1, vecColor.data()); in drawUByteColorQuad() 232 GLint uniformLoc = glGetUniformLocation(program.get(), essl1_shaders::ColorUniform()); in testDepthStencilDepthStencil() local 233 ASSERT_NE(-1, uniformLoc); in testDepthStencilDepthStencil() 276 drawUByteColorQuad(program.get(), uniformLoc, GLColor::green); in testDepthStencilDepthStencil() 278 drawUByteColorQuad(program.get(), uniformLoc, GLColor::red); in testDepthStencilDepthStencil() 308 drawUByteColorQuad(program.get(), uniformLoc, GLColor::green); in testDepthStencilDepthStencil() 310 drawUByteColorQuad(program.get(), uniformLoc, GLColor::red); in testDepthStencilDepthStencil()
|
D | WebGLReadOutsideFramebufferTest.cpp | 253 GLint uniformLoc = glGetUniformLocation(mProgram, "u_texture"); in testSetUp() local 254 ASSERT_NE(-1, uniformLoc); in testSetUp() 255 glUniform1i(uniformLoc, 0); in testSetUp()
|
D | FramebufferTest.cpp | 1418 GLint uniformLoc = glGetUniformLocation(textureProgram.get(), "u_texture"); in TEST_P() local 1419 ASSERT_NE(-1, uniformLoc); in TEST_P() 1420 glUniform1i(uniformLoc, 0); in TEST_P()
|
D | SimpleOperationTest.cpp | 239 const GLint uniformLoc = glGetUniformLocation(program, "u_input"); in TEST_P() local 240 EXPECT_NE(-1, uniformLoc); in TEST_P()
|
D | WebGLCompatibilityTest.cpp | 2341 GLint uniformLoc = glGetUniformLocation(program.get(), "u_texture"); in TEST_P() local 2342 ASSERT_NE(-1, uniformLoc); in TEST_P() 2345 glUniform1i(uniformLoc, 0); in TEST_P() 2395 GLint uniformLoc = glGetUniformLocation(unusedProgram.get(), "u_texture"); in TEST_P() local 2396 ASSERT_NE(-1, uniformLoc); in TEST_P() 2397 glUniform1i(uniformLoc, 0); in TEST_P()
|
D | StateChangeTest.cpp | 2979 const GLint uniformLoc = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local 2980 EXPECT_NE(-1, uniformLoc); in TEST_P() 2983 glUniform4f(uniformLoc, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P() 3003 glUniform4f(uniformLoc, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P() 4661 GLint uniformLoc = glGetUniformLocation(programs[i], "u_value"); in TEST_P() local 4662 ASSERT_NE(uniformLoc, -1); in TEST_P() 4664 glUniform1f(uniformLoc, static_cast<float>(i + 1) / static_cast<float>(kProgramCount)); in TEST_P()
|
D | ComputeShaderTest.cpp | 178 GLint uniformLoc = glGetUniformLocation(program.get(), "myUniformInt"); in TEST_P() local 179 EXPECT_NE(-1, uniformLoc); in TEST_P() 181 uniformLoc = glGetUniformLocation(program.get(), "myUniformSampler"); in TEST_P() 182 EXPECT_NE(-1, uniformLoc); in TEST_P()
|
D | TextureTest.cpp | 1899 GLint uniformLoc = glGetUniformLocation(otherProgram, getTextureUniformName()); in TEST_P() local 1900 ASSERT_NE(-1, uniformLoc); in TEST_P() 1936 glUniform1i(uniformLoc, 0); in TEST_P() 1943 glUniform1i(uniformLoc, 0); in TEST_P() 1950 glUniform1i(uniformLoc, 0); in TEST_P() 1957 glUniform1i(uniformLoc, 0); in TEST_P()
|
/external/angle/src/libANGLE/ |
D | FrameCapture.cpp | 1430 gl::UniformLocation uniformLoc = {static_cast<int>(location.index)}; in CaptureUpdateUniformValues() local 1437 program->getUniformfv(context, uniformLoc, components.data()); in CaptureUpdateUniformValues() 1442 Capture(callsOut, CaptureUniformMatrix4x3fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues() 1446 Capture(callsOut, CaptureUniformMatrix4x2fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues() 1450 Capture(callsOut, CaptureUniformMatrix4fv(replayState, true, uniformLoc, 1, in CaptureUpdateUniformValues() 1454 Capture(callsOut, CaptureUniformMatrix3x4fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues() 1458 Capture(callsOut, CaptureUniformMatrix3x2fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues() 1462 Capture(callsOut, CaptureUniformMatrix3fv(replayState, true, uniformLoc, 1, in CaptureUpdateUniformValues() 1466 Capture(callsOut, CaptureUniformMatrix2x4fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues() 1470 Capture(callsOut, CaptureUniformMatrix2x3fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues() [all …]
|