Home
last modified time | relevance | path

Searched refs:getUniforms (Results 1 – 25 of 55) sorted by relevance

123

/third_party/vk-gl-cts/framework/randomshaders/
DrsgProgramGenerator.cpp70 const vector<ShaderInput*>& vertexUniforms = vertexShader.getUniforms(); in generate()
71 const vector<ShaderInput*>& fragmentUniforms = fragmentShader.getUniforms(); in generate()
DrsgShader.hpp110 std::vector<ShaderInput*>& getUniforms (void) { return m_uniforms; } in getUniforms() function in rsg::Shader
114 const std::vector<ShaderInput*>& getUniforms (void) const { return m_uniforms; } in getUniforms() function in rsg::Shader
DrsgShaderGenerator.cpp283 vector<ShaderInput*>& uniforms = shader.getUniforms(); in generate()
338 fillUndefinedShaderInputs(shader.getUniforms()); in generate()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DShaderCompileTreeTest.cpp156 const std::vector<sh::ShaderVariable> &ShaderCompileTreeTest::getUniforms() const in getUniforms() function in sh::ShaderCompileTreeTest
159 return mTranslator->getUniforms(); in getUniforms()
DShaderCompileTreeTest.h41 const std::vector<sh::ShaderVariable> &getUniforms() const;
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DShaderCompileTreeTest.cpp156 const std::vector<sh::Uniform> &ShaderCompileTreeTest::getUniforms() const in getUniforms() function in sh::ShaderCompileTreeTest
159 return mTranslator->getUniforms(); in getUniforms()
DShaderCompileTreeTest.h41 const std::vector<sh::Uniform> &getUniforms() const;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramVk.cpp336 const std::vector<sh::ShaderVariable> &uniforms = shader->getUniforms(); in generateUniformLayoutMapping()
346 const auto &uniforms = mState.getUniforms(); in initDefaultUniformLayoutMapping()
424 const gl::LinkedUniform &linkedUniform = mState.getUniforms()[locationInfo.index]; in setUniformImpl()
489 const gl::LinkedUniform &linkedUniform = mState.getUniforms()[locationInfo.index]; in getUniformImpl()
538 const gl::LinkedUniform &linkedUniform = mState.getUniforms()[locationInfo.index]; in setUniform1iv()
591 const gl::LinkedUniform &linkedUniform = mState.getUniforms()[locationInfo.index]; in setUniformMatrixfv()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DShaderImage_test.cpp149 CheckExportedImageUniform(getUniforms(), 0, GL_IMAGE_2D, "myImage"); in TEST_F()
169 CheckExportedImageUniform(getUniforms(), 0, GL_UNSIGNED_INT_IMAGE_3D, "myImage"); in TEST_F()
DAtomicCounter_test.cpp52 std::vector<sh::Uniform> counters = getUniforms(); in TEST_F()
DCollectVariables_test.cpp62 const std::vector<Uniform> &uniforms = mTranslator->getUniforms(); in validateDepthRangeShader()
133 const auto &uniforms = mTranslator->getUniforms(); in checkUniformStaticallyUsedButNotActive()
858 const auto &uniforms = mTranslator->getUniforms(); in TEST_F()
902 const auto &uniforms = mTranslator->getUniforms(); in TEST_F()
945 const auto &uniforms = mTranslator->getUniforms(); in TEST_F()
980 const auto &uniforms = mTranslator->getUniforms(); in TEST_F()
1967 const auto &uniforms = mTranslator->getUniforms(); in TEST_F()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DShader.h75 const std::vector<sh::Uniform> &getUniforms() const { return mUniforms; } in getUniforms() function
169 const std::vector<sh::Uniform> &getUniforms();
DProgramLinkedResources.cpp95 for (const sh::Uniform &uniform : shaderToLink->getUniforms()) in ValidateGraphicsUniformsPerShader()
712 for (const sh::Uniform &vertexUniform : currentShader->getUniforms()) in validateGraphicsUniforms()
925 for (const sh::Uniform &uniform : shader->getUniforms()) in flattenUniformsAndCheckCapsForShader()
1314 const LinkedUniform &glUniform = programState.getUniforms()[index]; in getAtomicCounterBufferSizeMap()
DShader.cpp565 const std::vector<sh::Uniform> &Shader::getUniforms() in getUniforms() function in gl::Shader
568 return mState.getUniforms(); in getUniforms()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DShaderImage_test.cpp149 CheckExportedImageUniform(getUniforms(), 0, GL_IMAGE_2D, "myImage"); in TEST_F()
169 CheckExportedImageUniform(getUniforms(), 0, GL_UNSIGNED_INT_IMAGE_3D, "myImage"); in TEST_F()
DAtomicCounter_test.cpp52 std::vector<sh::ShaderVariable> counters = getUniforms(); in TEST_F()
DCollectVariables_test.cpp62 const std::vector<ShaderVariable> &uniforms = mTranslator->getUniforms(); in validateDepthRangeShader()
133 const auto &uniforms = mTranslator->getUniforms(); in checkUniformStaticallyUsedButNotActive()
884 const auto &uniforms = mTranslator->getUniforms(); in TEST_F()
928 const auto &uniforms = mTranslator->getUniforms(); in TEST_F()
971 const auto &uniforms = mTranslator->getUniforms(); in TEST_F()
1006 const auto &uniforms = mTranslator->getUniforms(); in TEST_F()
2000 const auto &uniforms = mTranslator->getUniforms(); in TEST_F()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgram.cpp2375 ASSERT(index < mState.mExecutable->getUniforms().size()); in getUniformResourceName()
2376 getResourceName(mState.mExecutable->getUniforms()[index].name, bufSize, length, name); in getUniformResourceName()
2493 ASSERT(index < mState.mExecutable->getUniforms().size()); in getActiveUniform()
2494 const LinkedUniform &uniform = mState.mExecutable->getUniforms()[index]; in getActiveUniform()
2527 return static_cast<GLint>(mState.mExecutable->getUniforms().size()); in getActiveUniformCount()
2548 for (const LinkedUniform &uniform : mState.mExecutable->getUniforms()) in getActiveUniformMaxLength()
2579 return mState.mExecutable->getUniforms()[mState.getUniformIndexFromLocation(location)]; in getUniformByLocation()
2600 return {GetVariableLocation(mState.mExecutable->getUniforms(), mState.mUniformLocations, name)}; in getUniformLocation()
2949 const LinkedUniform &uniform = mState.getUniforms()[uniformLocation.index]; in getUniformfv()
2977 const LinkedUniform &uniform = mState.getUniforms()[uniformLocation.index]; in getUniformiv()
[all …]
DShader.h77 const std::vector<sh::ShaderVariable> &getUniforms() const { return mUniforms; } in getUniforms() function
212 const std::vector<sh::ShaderVariable> &getUniforms();
DProgramExecutable.cpp328 ASSERT(getUniforms().empty()); in load()
553 stream->writeInt(getUniforms().size()); in save()
554 for (const LinkedUniform &uniform : getUniforms()) in save()
780 const gl::LinkedUniform &samplerUniform = programState.getUniforms()[uniformIndex]; in updateActiveSamplers()
824 const gl::LinkedUniform &imageUniform = executable.getUniforms()[uniformIndex]; in updateActiveImages()
896 mLinkedUniforms[shaderType] = shader->getUniforms(); in saveLinkedStateInfo()
DProgramLinkedResources.cpp97 for (const sh::ShaderVariable &uniform : shaderToLink->getUniforms()) in ValidateGraphicsUniformsPerShader()
853 for (const sh::ShaderVariable &vertexUniform : currentShader->getUniforms()) in validateGraphicsUniforms()
1072 for (const sh::ShaderVariable &uniform : shader->getUniforms()) in flattenUniformsAndCheckCapsForShader()
1417 uniforms[shaderType] = shader->getUniforms(); in LinkingVariables()
1519 const LinkedUniform &glUniform = programState.getUniforms()[index]; in getAtomicCounterBufferSizeMap()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramVk.cpp575 const gl::LinkedUniform &samplerUniform = mState.getUniforms()[uniformIndex]; in linkImpl()
713 const std::vector<sh::Uniform> &uniforms = shader->getUniforms(); in generateUniformLayoutMapping()
723 const auto &uniforms = mState.getUniforms(); in initDefaultUniformLayoutMapping()
802 const gl::LinkedUniform &linkedUniform = mState.getUniforms()[locationInfo.index]; in setUniformImpl()
866 const gl::LinkedUniform &linkedUniform = mState.getUniforms()[locationInfo.index]; in getUniformImpl()
915 const gl::LinkedUniform &linkedUniform = mState.getUniforms()[locationInfo.index]; in setUniform1iv()
968 const gl::LinkedUniform &linkedUniform = mState.getUniforms()[locationInfo.index]; in setUniformMatrixfv()
/third_party/vk-gl-cts/modules/glshared/
DglsRandomShaderCase.cpp255 const int numRequiredSamplers = getNumSamplerUniforms(shader.getUniforms()); in checkShaderLimits()
276 …nedSamplers = getNumSamplerUniforms(vtxShader.getUniforms()) + getNumSamplerUniforms(frgShader.get… in checkProgramLimits()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DTranslatorHLSL.cpp142 numRenderTargets, maxDualSourceDrawBuffers, getUniforms(), in translate()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DTranslatorHLSL.cpp214 numRenderTargets, maxDualSourceDrawBuffers, getUniforms(), in translate()

123