Home
last modified time | relevance | path

Searched refs:uniformLoc (Results 1 – 10 of 10) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fShaderMetamorphicTests.cpp137 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/
DWebGLFramebufferTest.cpp31 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()
DWebGLReadOutsideFramebufferTest.cpp253 GLint uniformLoc = glGetUniformLocation(mProgram, "u_texture"); in testSetUp() local
254 ASSERT_NE(-1, uniformLoc); in testSetUp()
255 glUniform1i(uniformLoc, 0); in testSetUp()
DComputeShaderTest.cpp178 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()
4251 GLint uniformLoc = glGetUniformLocation(programCS, "data"); in TEST_P() local
4252 ASSERT_NE(uniformLoc, -1); in TEST_P()
4254 glUniform4f(uniformLoc, 0.0f, 0.0f, 1.0f, 1.0f); in TEST_P()
4275 glUniform4f(uniformLoc, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
4333 GLint uniformLoc = glGetUniformLocation(programCS, "data"); in TEST_P() local
4334 ASSERT_NE(uniformLoc, -1); in TEST_P()
[all …]
DWebGLCompatibilityTest.cpp2395 GLint uniformLoc = glGetUniformLocation(program.get(), "u_texture"); in TEST_P() local
2396 ASSERT_NE(-1, uniformLoc); in TEST_P()
2399 glUniform1i(uniformLoc, 0); in TEST_P()
2449 GLint uniformLoc = glGetUniformLocation(unusedProgram.get(), "u_texture"); in TEST_P() local
2450 ASSERT_NE(-1, uniformLoc); in TEST_P()
2451 glUniform1i(uniformLoc, 0); in TEST_P()
4041 GLint uniformLoc = glGetUniformLocation(program.get(), "tex"); in TEST_P() local
4042 ASSERT_NE(-1, uniformLoc); in TEST_P()
4045 glUniform1i(uniformLoc, 0); in TEST_P()
DSimpleOperationTest.cpp242 const GLint uniformLoc = glGetUniformLocation(program, "u_input"); in TEST_P() local
243 EXPECT_NE(-1, uniformLoc); in TEST_P()
DStateChangeTest.cpp3774 const GLint uniformLoc = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local
3775 EXPECT_NE(-1, uniformLoc); in TEST_P()
3778 glUniform4f(uniformLoc, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
3798 glUniform4f(uniformLoc, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P()
6196 GLint uniformLoc = glGetUniformLocation(programs[i], "u_value"); in TEST_P() local
6197 ASSERT_NE(uniformLoc, -1); in TEST_P()
6199 glUniform1f(uniformLoc, static_cast<float>(i + 1) / static_cast<float>(kProgramCount)); in TEST_P()
DFramebufferTest.cpp3168 GLint uniformLoc = glGetUniformLocation(textureProgram.get(), "u_texture"); in TEST_P() local
3169 ASSERT_NE(-1, uniformLoc); in TEST_P()
3170 glUniform1i(uniformLoc, 0); in TEST_P()
DTextureTest.cpp2288 GLint uniformLoc = glGetUniformLocation(otherProgram, getTextureUniformName()); in TEST_P() local
2289 ASSERT_NE(-1, uniformLoc); in TEST_P()
2325 glUniform1i(uniformLoc, 0); in TEST_P()
2332 glUniform1i(uniformLoc, 0); in TEST_P()
2339 glUniform1i(uniformLoc, 0); in TEST_P()
2346 glUniform1i(uniformLoc, 0); in TEST_P()
/external/angle/src/libANGLE/capture/
DFrameCapture.cpp1723 gl::UniformLocation uniformLoc = program->getUniformLocation(uniformName); in CaptureUpdateUniformValues() local
1729 gl::UniformLocation readLoc = uniformLoc; in CaptureUpdateUniformValues()
1753 Capture(callsOut, CaptureUniform1iv(replayState, true, uniformLoc, uniformCount, in CaptureUpdateUniformValues()
1773 Capture(callsOut, CaptureUniformMatrix4x3fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues()
1778 Capture(callsOut, CaptureUniformMatrix4x2fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues()
1784 CaptureUniformMatrix4fv(replayState, true, uniformLoc, uniformCount, in CaptureUpdateUniformValues()
1788 Capture(callsOut, CaptureUniformMatrix3x4fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues()
1793 Capture(callsOut, CaptureUniformMatrix3x2fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues()
1799 CaptureUniformMatrix3fv(replayState, true, uniformLoc, uniformCount, in CaptureUpdateUniformValues()
1803 Capture(callsOut, CaptureUniformMatrix2x4fv(replayState, true, uniformLoc, in CaptureUpdateUniformValues()
[all …]