/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | UniformTest.cpp | 44 GLint uniformLocation = glGetUniformLocation(program, "uniF"); in TEST_P() local 45 ASSERT_NE(uniformLocation, -1); in TEST_P() 48 glUniform1f(uniformLocation, expected); in TEST_P() 51 glGetUniformfv(program, uniformLocation, &f); in TEST_P() 67 GLint uniformLocation = glGetUniformLocation(program, "uniI"); in TEST_P() local 68 ASSERT_NE(uniformLocation, -1); in TEST_P() 71 glUniform1i(uniformLocation, expected); in TEST_P() 74 glGetUniformiv(program, uniformLocation, &i); in TEST_P() 91 GLint uniformLocation = glGetUniformLocation(program, "uniVec2"); in TEST_P() local 92 ASSERT_NE(uniformLocation, -1); in TEST_P() [all …]
|
D | BindUniformLocationTest.cpp | 408 GLint uniformLocation) in linkProgramWithUniformLocation() argument 411 glBindUniformLocationCHROMIUM(program, uniformLocation, uniformName); in linkProgramWithUniformLocation()
|
D | GLSLTest.cpp | 2969 GLint uniformLocation = glGetUniformLocation(program.get(), "testSideEffectValue"); in TEST_P() local 2970 EXPECT_NE(uniformLocation, -1); in TEST_P() 2971 glUniform1i(uniformLocation, kUniformTestValue); in TEST_P() 3011 GLint uniformLocation = glGetUniformLocation(program.get(), uniformName.str().c_str()); in TEST_P() local 3013 EXPECT_NE(uniformLocation, -1); in TEST_P() 3014 glUniform2i(uniformLocation, i + 1, j + 1); in TEST_P()
|
D | StateChangeTest.cpp | 639 GLint uniformLocation = glGetUniformLocation(mProgram, "uniformColor"); in setUniformColor() local 640 ASSERT_NE(-1, uniformLocation); in setUniformColor() 641 glUniform4fv(uniformLocation, 1, normalizedColor.data()); in setUniformColor() 2736 GLint uniformLocation = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local 2737 ASSERT_NE(uniformLocation, -1); in TEST_P() 2748 glUniform4f(uniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P() 2762 glUniform4f(uniformLocation, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | UniformTest.cpp | 44 GLint uniformLocation = glGetUniformLocation(program, "uniF"); in TEST_P() local 45 ASSERT_NE(uniformLocation, -1); in TEST_P() 48 glUniform1f(uniformLocation, expected); in TEST_P() 51 glGetUniformfv(program, uniformLocation, &f); in TEST_P() 67 GLint uniformLocation = glGetUniformLocation(program, "uniI"); in TEST_P() local 68 ASSERT_NE(uniformLocation, -1); in TEST_P() 71 glUniform1i(uniformLocation, expected); in TEST_P() 74 glGetUniformiv(program, uniformLocation, &i); in TEST_P() 91 GLint uniformLocation = glGetUniformLocation(program, "uniVec2"); in TEST_P() local 92 ASSERT_NE(uniformLocation, -1); in TEST_P() [all …]
|
D | GLSLTest.cpp | 3009 GLint uniformLocation = glGetUniformLocation(program.get(), uniformName.str().c_str()); in TEST_P() local 3011 EXPECT_NE(uniformLocation, -1); in TEST_P() 3013 glUniform1i(uniformLocation, 3 - i); in TEST_P() 4400 GLint uniformLocation = glGetUniformLocation(program, "testSideEffectValue"); in TEST_P() local 4401 EXPECT_NE(uniformLocation, -1); in TEST_P() 4402 glUniform1ui(uniformLocation, kUniformTestValue); in TEST_P() 4521 GLint uniformLocation = glGetUniformLocation(program.get(), uniformName.str().c_str()); in TEST_P() local 4523 EXPECT_NE(uniformLocation, -1); in TEST_P() 4524 glUniform2i(uniformLocation, i + 1, j + 1); in TEST_P() 4636 GLint uniformLocation = glGetUniformLocation(program.get(), uniformName.str().c_str()); in TEST_P() local [all …]
|
D | BindUniformLocationTest.cpp | 450 GLint uniformLocation) in linkProgramWithUniformLocation() argument 453 glBindUniformLocationCHROMIUM(program, uniformLocation, uniformName); in linkProgramWithUniformLocation()
|
D | StateChangeTest.cpp | 705 GLint uniformLocation = glGetUniformLocation(mProgram, "uniformColor"); in setUniformColor() local 706 ASSERT_NE(-1, uniformLocation); in setUniformColor() 707 glUniform4fv(uniformLocation, 1, normalizedColor.data()); in setUniformColor() 3764 GLint uniformLocation = glGetUniformLocation(program, essl1_shaders::ColorUniform()); in TEST_P() local 3765 ASSERT_NE(uniformLocation, -1); in TEST_P() 3776 glUniform4f(uniformLocation, 1.0f, 0.0f, 0.0f, 1.0f); in TEST_P() 3790 glUniform4f(uniformLocation, 0.0f, 1.0f, 0.0f, 1.0f); in TEST_P()
|
D | MemoryBarrierTest.cpp | 608 GLint uniformLocation = glGetUniformLocation(program, kUniformName); in setUniformData() local 609 ASSERT_NE(uniformLocation, -1); in setUniformData() 611 glUniform4f(uniformLocation, data[0], data[1], data[2], data[3]); in setUniformData()
|
D | ComputeShaderTest.cpp | 4698 GLint uniformLocation = glGetUniformLocation(program, "uniformData"); in TEST_P() local 4699 ASSERT_NE(uniformLocation, -1); in TEST_P() 4700 glUniform4f(uniformLocation, kComputeShaderData[0], kComputeShaderData[1], in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Program.cpp | 2924 GLuint Program::getSamplerUniformBinding(const VariableLocation &uniformLocation) const in getSamplerUniformBinding() 2927 GLuint samplerIndex = mState.getSamplerIndexFromUniformIndex(uniformLocation.index); in getSamplerUniformBinding() 2930 return (uniformLocation.arrayIndex < boundTextureUnits.size()) in getSamplerUniformBinding() 2931 ? boundTextureUnits[uniformLocation.arrayIndex] in getSamplerUniformBinding() 2935 GLuint Program::getImageUniformBinding(const VariableLocation &uniformLocation) const in getImageUniformBinding() 2938 GLuint imageIndex = mState.getImageIndexFromUniformIndex(uniformLocation.index); in getImageUniformBinding() 2942 return boundImageUnits[uniformLocation.arrayIndex]; in getImageUniformBinding() 2948 const VariableLocation &uniformLocation = mState.getUniformLocations()[location.value]; in getUniformfv() local 2949 const LinkedUniform &uniform = mState.getUniforms()[uniformLocation.index]; in getUniformfv() 2953 *v = static_cast<GLfloat>(getSamplerUniformBinding(uniformLocation)); in getUniformfv() [all …]
|
D | Program.h | 854 GLuint getSamplerUniformBinding(const VariableLocation &uniformLocation) const; 855 GLuint getImageUniformBinding(const VariableLocation &uniformLocation) const;
|
D | validationES.cpp | 2663 const auto &uniformLocation = uniformLocations[castedLocation]; in ValidateUniformCommonBase() local 2664 if (uniformLocation.ignored) in ValidateUniformCommonBase() 2670 if (!uniformLocation.used()) in ValidateUniformCommonBase() 2676 const auto &uniform = program->getUniformByIndex(uniformLocation.index); in ValidateUniformCommonBase()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | ProgramGL.cpp | 1020 for (size_t uniformLocation = 0; uniformLocation < uniformLocations.size(); uniformLocation++) in postLink() local 1022 const auto &entry = uniformLocations[uniformLocation]; in postLink() 1045 mUniformRealLocationMap[uniformLocation] = realLocation; in postLink()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | ProgramGL.cpp | 1008 for (size_t uniformLocation = 0; uniformLocation < uniformLocations.size(); uniformLocation++) in postLink() local 1010 const auto &entry = uniformLocations[uniformLocation]; in postLink() 1033 mUniformRealLocationMap[uniformLocation] = realLocation; in postLink()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Program.cpp | 2459 GLuint Program::getSamplerUniformBinding(const VariableLocation &uniformLocation) const in getSamplerUniformBinding() 2462 GLuint samplerIndex = mState.getSamplerIndexFromUniformIndex(uniformLocation.index); in getSamplerUniformBinding() 2465 return boundTextureUnits[uniformLocation.arrayIndex]; in getSamplerUniformBinding() 2471 const VariableLocation &uniformLocation = mState.getUniformLocations()[location]; in getUniformfv() local 2472 const LinkedUniform &uniform = mState.getUniforms()[uniformLocation.index]; in getUniformfv() 2476 *v = static_cast<GLfloat>(getSamplerUniformBinding(uniformLocation)); in getUniformfv() 2494 const VariableLocation &uniformLocation = mState.getUniformLocations()[location]; in getUniformiv() local 2495 const LinkedUniform &uniform = mState.getUniforms()[uniformLocation.index]; in getUniformiv() 2499 *v = static_cast<GLint>(getSamplerUniformBinding(uniformLocation)); in getUniformiv() 2517 const VariableLocation &uniformLocation = mState.getUniformLocations()[location]; in getUniformuiv() local [all …]
|
D | validationES.cpp | 2119 const auto &uniformLocation = uniformLocations[castedLocation]; in ValidateUniformCommonBase() local 2120 if (uniformLocation.ignored) in ValidateUniformCommonBase() 2126 if (!uniformLocation.used()) in ValidateUniformCommonBase() 2132 const auto &uniform = program->getUniformByIndex(uniformLocation.index); in ValidateUniformCommonBase()
|
D | Program.h | 1033 GLuint getSamplerUniformBinding(const VariableLocation &uniformLocation) const;
|
/third_party/glslang/glslang/MachineIndependent/ |
D | iomapper.cpp | 342 int uniformLocation = qualifier.layoutLocation; in TSymbolValidater() local 344 if (uniformLocation != TQualifier::layoutLocationEnd) { in TSymbolValidater() 348 TRange locationRange(uniformLocation, uniformLocation + size - 1); in TSymbolValidater()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fSRGBDecodeTests.cpp | 212 UniformData (glw::GLuint uniformLocation, const std::string& uniformName) in UniformData() 213 : location (uniformLocation) in UniformData()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | ProgramD3D.cpp | 2607 const gl::VariableLocation &uniformLocation = mState.getUniformLocations()[location]; in setUniformMatrixfvInternal() local 2608 unsigned int arrayElementOffset = uniformLocation.arrayIndex; in setUniformMatrixfvInternal()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | ProgramD3D.cpp | 2750 const gl::VariableLocation &uniformLocation = mState.getUniformLocations()[location]; in setUniformMatrixfvInternal() local 2751 unsigned int arrayElementOffset = uniformLocation.arrayIndex; in setUniformMatrixfvInternal()
|