Home
last modified time | relevance | path

Searched refs:getUniforms (Results 1 - 25 of 33) sorted by relevance

12

/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgProgramGenerator.cpp70 const vector<ShaderInput*>& vertexUniforms = vertexShader.getUniforms(); in generate()
71 const vector<ShaderInput*>& fragmentUniforms = fragmentShader.getUniforms(); in generate()
H A 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
H A DrsgShaderGenerator.cpp283 vector<ShaderInput*>& uniforms = shader.getUniforms(); in generate()
338 fillUndefinedShaderInputs(shader.getUniforms()); in generate()
H A DrsgUtils.cpp38 const vector<ShaderInput*>& shaderUniforms = shader.getUniforms(); in addNewUniforms()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A DShaderCompileTreeTest.cpp156 const std::vector<sh::ShaderVariable> &ShaderCompileTreeTest::getUniforms() const in getUniforms() function in sh::ShaderCompileTreeTest
159 return mTranslator->getUniforms(); in getUniforms()
H A DShaderCompileTreeTest.h41 const std::vector<sh::ShaderVariable> &getUniforms() const;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A 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()
H A DProgramExecutableVk.cpp587 const std::vector<gl::LinkedUniform> &uniforms = executable.getUniforms(); in addImageDescriptorSetDesc()
647 const std::vector<gl::LinkedUniform> &uniforms = executable.getUniforms(); in addInputAttachmentDescriptorSetDesc()
681 const std::vector<gl::LinkedUniform> &uniforms = programState.getUniforms(); in addTextureDescriptorSetDesc()
1419 const std::vector<gl::LinkedUniform> &uniforms = executable.getUniforms(); in updateImagesDescriptorSet()
1605 const std::vector<gl::LinkedUniform> &uniforms = executable.getUniforms(); in updateInputAttachmentDescriptorSet()
1755 const gl::LinkedUniform &samplerUniform = programState->getUniforms()[uniformIndex]; in updateTexturesDescriptorSet()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
H A 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()
H A DAtomicCounter_test.cpp52 std::vector<sh::ShaderVariable> counters = getUniforms(); in TEST_F()
H A 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/
H A 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)};
2949 const LinkedUniform &uniform = mState.getUniforms()[uniformLocation.index]; in getUniformfv()
2977 const LinkedUniform &uniform = mState.getUniforms()[uniformLocatio in getUniformiv()
[all...]
H A DShader.h77 const std::vector<sh::ShaderVariable> &getUniforms() const { return mUniforms; } in getUniforms() function in gl::final
212 const std::vector<sh::ShaderVariable> &getUniforms();
H A DProgramExecutable.cpp328 ASSERT(getUniforms().empty());
553 stream->writeInt(getUniforms().size()); in save()
554 for (const LinkedUniform &uniform : getUniforms()) in save()
780 const gl::LinkedUniform &samplerUniform = programState.getUniforms()[uniformIndex];
824 const gl::LinkedUniform &imageUniform = executable.getUniforms()[uniformIndex];
896 mLinkedUniforms[shaderType] = shader->getUniforms();
H A DShader.cpp663 const std::vector<sh::ShaderVariable> &Shader::getUniforms() in getUniforms() function in gl::Shader
666 return mState.getUniforms(); in getUniforms()
H A 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())
1417 uniforms[shaderType] = shader->getUniforms(); in LinkingVariables()
1519 const LinkedUniform &glUniform = programState.getUniforms()[index]; in getAtomicCounterBufferSizeMap()
H A DProgram.h267 const std::vector<LinkedUniform> &getUniforms() const { return mExecutable->getUniforms(); } in getUniforms() function in gl::final
H A DProgramExecutable.h208 const std::vector<LinkedUniform> &getUniforms() const { return mUniforms; } in getUniforms() function in gl::final
/third_party/vk-gl-cts/modules/glshared/
H A DglsRandomShaderCase.cpp255 const int numRequiredSamplers = getNumSamplerUniforms(shader.getUniforms()); in checkShaderLimits()
276 const int numRequiredCombinedSamplers = getNumSamplerUniforms(vtxShader.getUniforms()) + getNumSamplerUniforms(frgShader.getUniforms()); in checkProgramLimits()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DTranslatorHLSL.cpp214 numRenderTargets, maxDualSourceDrawBuffers, getUniforms(), in translate()
H A DCompiler.h127 const std::vector<sh::ShaderVariable> &getUniforms() const { return mUniforms; } in getUniforms() function in sh::TCompiler
H A DTranslatorMetalDirect.cpp672 getInputVaryings(), getOutputVariables(), getUniforms(), in translateImpl()
682 for (const auto &uniform : getUniforms()) in translateImpl()
H A DTranslatorVulkan.cpp829 for (const auto &uniform : getUniforms()) in translateImpl()
858 getInputVaryings(), getOutputVariables(), getUniforms(), in translateImpl()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DProgramD3D.cpp1081 const auto &linkedUniforms = mState.getUniforms();
2054 for (const sh::ShaderVariable &uniform : computeShader->getUniforms())
2542 for (const sh::ShaderVariable &uniform : shader->getUniforms())
2555 for (const gl::LinkedUniform &glUniform : mState.getUniforms())
2787 mState.getUniforms()[uniformIndex].parentArrayIndex() * d3dUniform->getArraySizeProduct();
2901 mState.getUniforms()[uniformIndex].parentArrayIndex() * d3dUniform->getArraySizeProduct();
3272 const gl::LinkedUniform &uniform = mState.getUniforms()[locationInfo.index];
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fUniformApiTests.cpp1038 bool getUniforms (vector<VarValue>& valuesDst, const vector<BasicUniform>& basicUniforms, deUint32 programGL);
1704 bool UniformCase::getUniforms (vector<VarValue>& valuesDst, const vector<BasicUniform>& basicUniforms, const deUint32 programGL) in getUniforms() function in deqp::UniformCase
2443 const bool success = getUniforms(values, basicUniforms, program.getProgram()); in test()
2539 PERFORM_AND_CHECK(getUniforms(uniformDefaultValues, basicUniforms, programGL), "GetUniformDefaults", "Uniform default value query"); in test()
2554 PERFORM_AND_CHECK(getUniforms(uniformValues, basicUniforms, programGL), "GetUniforms", "Uniform value query"); in test()

Completed in 38 milliseconds

12