Lines Matching refs:programState
400 void ProgramExecutableVk::addImageDescriptorSetDesc(const gl::ProgramState &programState, in addImageDescriptorSetDesc() argument
403 const std::vector<gl::ImageBinding> &imageBindings = programState.getImageBindings(); in addImageDescriptorSetDesc()
404 const std::vector<gl::LinkedUniform> &uniforms = programState.getUniforms(); in addImageDescriptorSetDesc()
410 uint32_t uniformIndex = programState.getUniformIndexFromImageIndex(imageIndex); in addImageDescriptorSetDesc()
417 programState.getProgramExecutable().getLinkedShaderStages()) in addImageDescriptorSetDesc()
434 void ProgramExecutableVk::addTextureDescriptorSetDesc(const gl::ProgramState &programState, in addTextureDescriptorSetDesc() argument
438 const std::vector<gl::SamplerBinding> &samplerBindings = programState.getSamplerBindings(); in addTextureDescriptorSetDesc()
439 const std::vector<gl::LinkedUniform> &uniforms = programState.getUniforms(); in addTextureDescriptorSetDesc()
445 uint32_t uniformIndex = programState.getUniformIndexFromSamplerIndex(textureIndex); in addTextureDescriptorSetDesc()
472 programState.getProgramExecutable().getLinkedShaderStages()) in addTextureDescriptorSetDesc()
690 const gl::ProgramState *programState = programStates[shaderType]; in createPipelineLayout() local
691 ASSERT(programState); in createPipelineLayout()
692 addImageDescriptorSetDesc(*programState, &resourcesSetDesc); in createPipelineLayout()
703 const gl::ProgramState *programState = programStates[shaderType]; in createPipelineLayout() local
704 ASSERT(programState); in createPipelineLayout()
705 addTextureDescriptorSetDesc(*programState, contextVk->useOldRewriteStructSamplers(), in createPipelineLayout()
747 const gl::ProgramState *programState = programStates[shaderType]; in createPipelineLayout() local
748 ASSERT(programState); in createPipelineLayout()
751 uniformBlockCount += static_cast<uint32_t>(programState->getUniformBlocks().size()); in createPipelineLayout()
752 storageBlockCount += static_cast<uint32_t>(programState->getShaderStorageBlocks().size()); in createPipelineLayout()
754 static_cast<uint32_t>(programState->getAtomicCounterBuffers().size()); in createPipelineLayout()
755 imageCount += static_cast<uint32_t>(programState->getImageBindings().size()); in createPipelineLayout()
756 textureCount += static_cast<uint32_t>(programState->getSamplerBindings().size()); in createPipelineLayout()
956 const gl::ProgramState &programState, in updateAtomicCounterBuffersDescriptorSet() argument
964 programState.getAtomicCounterBuffers(); in updateAtomicCounterBuffersDescriptorSet()
1048 angle::Result ProgramExecutableVk::updateImagesDescriptorSet(const gl::ProgramState &programState, in updateImagesDescriptorSet() argument
1053 const std::vector<gl::ImageBinding> &imageBindings = programState.getImageBindings(); in updateImagesDescriptorSet()
1054 const std::vector<gl::LinkedUniform> &uniforms = programState.getUniforms(); in updateImagesDescriptorSet()
1073 uint32_t uniformIndex = programState.getUniformIndexFromImageIndex(imageIndex); in updateImagesDescriptorSet()
1148 const gl::ProgramState *programState = programStates[shaderType]; in updateShaderResourcesDescriptorSet() local
1149 ASSERT(programState); in updateShaderResourcesDescriptorSet()
1152 programState->getUniformBlocks(), in updateShaderResourcesDescriptorSet()
1155 programState->getShaderStorageBlocks(), in updateShaderResourcesDescriptorSet()
1157 updateAtomicCounterBuffersDescriptorSet(*programState, shaderType, contextVk, in updateShaderResourcesDescriptorSet()
1159 angle::Result status = updateImagesDescriptorSet(*programState, shaderType, contextVk); in updateShaderResourcesDescriptorSet()
1170 const gl::ProgramState &programState, in updateTransformFeedbackDescriptorSet() argument
1174 const gl::ProgramExecutable &executable = programState.getProgramExecutable(); in updateTransformFeedbackDescriptorSet()
1185 updateTransformFeedbackDescriptorSetImpl(programState, contextVk); in updateTransformFeedbackDescriptorSet()
1191 const gl::ProgramState &programState, in updateTransformFeedbackDescriptorSetImpl() argument
1196 const gl::ProgramExecutable &executable = programState.getProgramExecutable(); in updateTransformFeedbackDescriptorSetImpl()
1212 contextVk, programState.getTransformFeedbackBufferCount(), &mEmptyBuffer, in updateTransformFeedbackDescriptorSetImpl()
1219 transformFeedbackVk->updateDescriptorSet(contextVk, programState, in updateTransformFeedbackDescriptorSetImpl()
1269 const gl::ProgramState *programState = programStates[shaderType]; in updateTexturesDescriptorSet() local
1270 ASSERT(programState); in updateTexturesDescriptorSet()
1271 for (uint32_t textureIndex = 0; textureIndex < programState->getSamplerBindings().size(); in updateTexturesDescriptorSet()
1275 programState->getSamplerBindings()[textureIndex]; in updateTexturesDescriptorSet()
1279 uint32_t uniformIndex = programState->getUniformIndexFromSamplerIndex(textureIndex); in updateTexturesDescriptorSet()
1280 const gl::LinkedUniform &samplerUniform = programState->getUniforms()[uniformIndex]; in updateTexturesDescriptorSet()