Home
last modified time | relevance | path

Searched refs:uniLoc (Results 1 – 11 of 11) sorted by relevance

/external/angle/src/libANGLE/renderer/gl/
DProgramGL.cpp504 mFunctions->programUniform1fv(mProgramID, uniLoc(location), count, v); in setUniform1fv()
509 mFunctions->uniform1fv(uniLoc(location), count, v); in setUniform1fv()
517 mFunctions->programUniform2fv(mProgramID, uniLoc(location), count, v); in setUniform2fv()
522 mFunctions->uniform2fv(uniLoc(location), count, v); in setUniform2fv()
530 mFunctions->programUniform3fv(mProgramID, uniLoc(location), count, v); in setUniform3fv()
535 mFunctions->uniform3fv(uniLoc(location), count, v); in setUniform3fv()
543 mFunctions->programUniform4fv(mProgramID, uniLoc(location), count, v); in setUniform4fv()
548 mFunctions->uniform4fv(uniLoc(location), count, v); in setUniform4fv()
556 mFunctions->programUniform1iv(mProgramID, uniLoc(location), count, v); in setUniform1iv()
561 mFunctions->uniform1iv(uniLoc(location), count, v); in setUniform1iv()
[all …]
DProgramGL.h146 GLint uniLoc(GLint glLocation) const { return mUniformRealLocationMap[glLocation]; } in uniLoc() function
/external/deqp/external/openglcts/modules/common/
DglcShaderRenderCase.cpp937 int uniLoc = gl.getUniformLocation(programID, s_boolUniforms[i].name); in setupDefaultUniforms() local
938 if (uniLoc != -1) in setupDefaultUniforms()
939 gl.uniform1i(uniLoc, s_boolUniforms[i].value); in setupDefaultUniforms()
960 int uniLoc = gl.getUniformLocation(programID, uni.name); in setupDefaultUniforms() local
961 if (uniLoc != -1) in setupDefaultUniforms()
962 gl.uniform4iv(uniLoc, 1, &arr[0]); in setupDefaultUniforms()
979 int uniLoc = gl.getUniformLocation(programID, s_intUniforms[i].name); in setupDefaultUniforms() local
980 if (uniLoc != -1) in setupDefaultUniforms()
981 gl.uniform1i(uniLoc, s_intUniforms[i].value); in setupDefaultUniforms()
996 int uniLoc = gl.getUniformLocation(programID, s_ivec2Uniforms[i].name); in setupDefaultUniforms() local
[all …]
/external/deqp/modules/glshared/
DglsShaderRenderCase.cpp827 int uniLoc = gl.getUniformLocation(programID, s_boolUniforms[i].name); in setupDefaultUniforms() local
828 if (uniLoc != -1) in setupDefaultUniforms()
829 gl.uniform1i(uniLoc, s_boolUniforms[i].value); in setupDefaultUniforms()
848 int uniLoc = gl.getUniformLocation(programID, uni.name); in setupDefaultUniforms() local
849 if (uniLoc != -1) in setupDefaultUniforms()
850 gl.uniform4iv(uniLoc, 1, &arr[0]); in setupDefaultUniforms()
872 int uniLoc = gl.getUniformLocation(programID, s_intUniforms[i].name); in setupDefaultUniforms() local
873 if (uniLoc != -1) in setupDefaultUniforms()
874 gl.uniform1i(uniLoc, s_intUniforms[i].value); in setupDefaultUniforms()
891 int uniLoc = gl.getUniformLocation(programID, s_ivec2Uniforms[i].name); in setupDefaultUniforms() local
[all …]
/external/angle/src/tests/gl_tests/
DRobustBufferAccessBehaviorTest.cpp402 GLint uniLoc = glGetUniformLocation(program, "comparison"); in TEST_P() local
403 ASSERT_NE(-1, uniLoc); in TEST_P()
404 glUniform2f(uniLoc, kDefaultFloat, kDefaultFloat); in TEST_P()
465 GLint uniLoc = glGetUniformLocation(program, "comparison"); in TEST_P() local
466 ASSERT_NE(-1, uniLoc); in TEST_P()
467 glUniform2f(uniLoc, 0, 0); in TEST_P()
539 GLint uniLoc = glGetUniformLocation(program, "comparison"); in TEST_P() local
540 ASSERT_NE(-1, uniLoc); in TEST_P()
541 glUniform2f(uniLoc, kDefaultFloat, kDefaultFloat); in TEST_P()
DGeometryShaderTest.cpp1576 GLint uniLoc = glGetUniformLocation(vertProg, "uniVec"); in TEST_P() local
1577 ASSERT_NE(-1, uniLoc); in TEST_P()
1578 glUniform4f(uniLoc, 0, 1, 0, 1); in TEST_P()
1619 uniLoc = glGetUniformLocation(vertProg, "uniVec"); in TEST_P()
1620 ASSERT_NE(-1, uniLoc); in TEST_P()
1621 glUniform4f(uniLoc, 0, 1, 0, 1); in TEST_P()
1757 GLint uniLoc = glGetUniformLocation(program, "uniOne"); in TEST_P() local
1758 ASSERT_NE(-1, uniLoc); in TEST_P()
1759 glUniform4f(uniLoc, 1.0f, 1.0f, 1.0f, 1.0f); in TEST_P()
DClearTest.cpp607 GLint uniLoc = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local
608 ASSERT_NE(-1, uniLoc); in TEST_P()
609 glUniform4f(uniLoc, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
658 GLint uniLoc = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local
659 ASSERT_NE(-1, uniLoc); in TEST_P()
660 glUniform4f(uniLoc, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
702 glUniform4f(uniLoc, 1.0f, 0.25f, 1.0f, 1.0f); in TEST_P()
1473 GLint uniLoc = glGetUniformLocation(program, "tex"); in TEST_P() local
1474 ASSERT_NE(-1, uniLoc); in TEST_P()
1475 glUniform1i(uniLoc, 0); in TEST_P()
DVertexAttributeTest.cpp2839 GLint uniLoc = glGetUniformLocation(program, "expectedValue"); in TEST_P() local
2840 ASSERT_NE(-1, uniLoc); in TEST_P()
2852 glUniform1f(uniLoc, testValue); in TEST_P()
2886 GLint uniLoc = glGetUniformLocation(program, "expectedValue"); in TEST_P() local
2887 ASSERT_NE(-1, uniLoc); in TEST_P()
2900 glUniform1f(uniLoc, testValue); in TEST_P()
3089 GLint uniLoc = glGetUniformLocation(program, "expectedValue"); in TEST_P() local
3090 ASSERT_NE(-1, uniLoc); in TEST_P()
3101 glUniform1i(uniLoc, testValue); in TEST_P()
3140 GLint uniLoc = glGetUniformLocation(program, "expectedValue"); in TEST_P() local
[all …]
DGLSLTest.cpp5370 GLint uniLoc = glGetUniformLocation(program, "b.q"); in TEST_P() local
5371 ASSERT_NE(-1, uniLoc); in TEST_P()
5372 glUniform1f(uniLoc, 0.5f); in TEST_P()
8026 GLint uniLoc = glGetUniformLocation(program, "viewportSize"); in TEST_P() local
8027 ASSERT_NE(-1, uniLoc); in TEST_P()
8028 glUniform2f(uniLoc, static_cast<GLfloat>(getWindowWidth()), in TEST_P()
8097 GLint uniLoc = glGetUniformLocation(program, "viewportSize"); in TEST_P() local
8098 ASSERT_NE(-1, uniLoc); in TEST_P()
8099 glUniform2f(uniLoc, static_cast<GLfloat>(getWindowWidth()), in TEST_P()
DVulkanPerformanceCounterTest.cpp2973 GLint uniLoc = glGetUniformLocation(program, "checkValue"); in TEST_P() local
2974 ASSERT_NE(-1, uniLoc); in TEST_P()
3009 glUniform1i(uniLoc, 1); in TEST_P()
3014 glUniform1i(uniLoc, 2); in TEST_P()
DStateChangeTest.cpp3245 GLint uniLoc = glGetUniformLocation(program, essl1_shaders::Texture2DUniform()); in TEST_P() local
3246 ASSERT_NE(-1, uniLoc); in TEST_P()
3247 glUniform1i(uniLoc, 0); in TEST_P()