Lines Matching refs:programExecutable
221 const gl::ProgramExecutable &programExecutable, in AssignTransformFeedbackEmulationBindings() argument
229 ASSERT(!programExecutable.getLinkedTransformFeedbackVaryings().empty()); in AssignTransformFeedbackEmulationBindings()
231 programExecutable.getTransformFeedbackBufferMode() == GL_INTERLEAVED_ATTRIBS; in AssignTransformFeedbackEmulationBindings()
233 isInterleaved ? 1 : programExecutable.getLinkedTransformFeedbackVaryings().size(); in AssignTransformFeedbackEmulationBindings()
286 void AssignAttributeLocations(const gl::ProgramExecutable &programExecutable, in AssignAttributeLocations() argument
291 for (const sh::ShaderVariable &attribute : programExecutable.getProgramInputs()) in AssignAttributeLocations()
308 void AssignSecondaryOutputLocations(const gl::ProgramExecutable &programExecutable, in AssignSecondaryOutputLocations() argument
311 const auto &secondaryOutputLocations = programExecutable.getSecondaryOutputLocations(); in AssignSecondaryOutputLocations()
312 const auto &outputVariables = programExecutable.getOutputVariables(); in AssignSecondaryOutputLocations()
341 if (programExecutable.hasLinkedShaderStage(gl::ShaderType::Fragment) && in AssignSecondaryOutputLocations()
342 programExecutable.getLinkedShaderVersion(gl::ShaderType::Fragment) == 100) in AssignSecondaryOutputLocations()
345 programExecutable.getOutputVariables(); in AssignSecondaryOutputLocations()
364 void AssignOutputLocations(const gl::ProgramExecutable &programExecutable, in AssignOutputLocations() argument
371 const auto &outputLocations = programExecutable.getOutputLocations(); in AssignOutputLocations()
372 const auto &outputVariables = programExecutable.getOutputVariables(); in AssignOutputLocations()
402 AssignSecondaryOutputLocations(programExecutable, variableInfoMapOut); in AssignOutputLocations()
531 void AssignTransformFeedbackQualifiers(const gl::ProgramExecutable &programExecutable, in AssignTransformFeedbackQualifiers() argument
538 programExecutable.getLinkedTransformFeedbackVaryings(); in AssignTransformFeedbackQualifiers()
539 const std::vector<GLsizei> &varyingStrides = programExecutable.getTransformFeedbackStrides(); in AssignTransformFeedbackQualifiers()
541 programExecutable.getTransformFeedbackBufferMode() == GL_INTERLEAVED_ATTRIBS; in AssignTransformFeedbackQualifiers()
687 const gl::ProgramExecutable &programExecutable, in AssignUniformBindings() argument
692 if (programExecutable.hasLinkedShaderStage(shaderType)) in AssignUniformBindings()
759 const gl::ProgramExecutable &programExecutable, in AssignInputAttachmentBindings() argument
778 if (programExecutable.hasLinkedShaderStage(shaderType) && in AssignInputAttachmentBindings()
802 const gl::ProgramExecutable &programExecutable, in AssignInterfaceBlockBindings() argument
814 if (programExecutable.hasLinkedShaderStage(shaderType) && block.isActive(shaderType)) in AssignInterfaceBlockBindings()
831 const gl::ProgramExecutable &programExecutable, in AssignAtomicCounterBufferBindings() argument
843 if (programExecutable.hasLinkedShaderStage(shaderType)) in AssignAtomicCounterBufferBindings()
854 const gl::ProgramExecutable &programExecutable, in AssignImageBindings() argument
865 if (programExecutable.hasLinkedShaderStage(shaderType)) in AssignImageBindings()
891 const gl::ProgramExecutable &programExecutable, in AssignNonTextureBindings() argument
897 const std::vector<gl::LinkedUniform> &uniforms = programExecutable.getUniforms(); in AssignNonTextureBindings()
898 const gl::RangeUI &inputAttachmentUniformRange = programExecutable.getFragmentInoutRange(); in AssignNonTextureBindings()
899 AssignInputAttachmentBindings(options, programExecutable, uniforms, inputAttachmentUniformRange, in AssignNonTextureBindings()
903 const std::vector<gl::InterfaceBlock> &uniformBlocks = programExecutable.getUniformBlocks(); in AssignNonTextureBindings()
904 AssignInterfaceBlockBindings(options, programExecutable, uniformBlocks, shaderType, in AssignNonTextureBindings()
909 programExecutable.getShaderStorageBlocks(); in AssignNonTextureBindings()
910 AssignInterfaceBlockBindings(options, programExecutable, storageBlocks, shaderType, in AssignNonTextureBindings()
915 programExecutable.getAtomicCounterBuffers(); in AssignNonTextureBindings()
916 AssignAtomicCounterBufferBindings(options, programExecutable, atomicCounterBuffers, shaderType, in AssignNonTextureBindings()
920 const gl::RangeUI &imageUniformRange = programExecutable.getImageUniformRange(); in AssignNonTextureBindings()
921 AssignImageBindings(options, programExecutable, uniforms, imageUniformRange, shaderType, in AssignNonTextureBindings()
926 const gl::ProgramExecutable &programExecutable, in AssignTextureBindings() argument
933 const std::vector<gl::LinkedUniform> &uniforms = programExecutable.getUniforms(); in AssignTextureBindings()
935 for (unsigned int uniformIndex : programExecutable.getSamplerUniformRange()) in AssignTextureBindings()
940 if (!programExecutable.hasLinkedShaderStage(shaderType) || in AssignTextureBindings()
957 uint32_t textureIndex = uniformIndex - programExecutable.getSamplerUniformRange().low(); in AssignTextureBindings()
4794 const gl::ProgramExecutable &programExecutable, in GlslangAssignLocations() argument
4805 programExecutable.hasLinkedShaderStage(gl::ShaderType::Fragment)) in GlslangAssignLocations()
4807 AssignOutputLocations(programExecutable, gl::ShaderType::Fragment, variableInfoMapOut); in GlslangAssignLocations()
4812 programExecutable.hasLinkedShaderStage(gl::ShaderType::Vertex)) in GlslangAssignLocations()
4814 AssignAttributeLocations(programExecutable, gl::ShaderType::Vertex, variableInfoMapOut); in GlslangAssignLocations()
4817 if (programExecutable.hasLinkedGraphicsShader()) in GlslangAssignLocations()
4835 if (!programExecutable.getLinkedTransformFeedbackVaryings().empty() && in GlslangAssignLocations()
4836 shaderType == programExecutable.getLinkedTransformFeedbackStage()) in GlslangAssignLocations()
4838 AssignTransformFeedbackQualifiers(programExecutable, outputPacking, shaderType, in GlslangAssignLocations()
4844 AssignUniformBindings(options, programExecutable, shaderType, programInterfaceInfo, in GlslangAssignLocations()
4846 AssignTextureBindings(options, programExecutable, shaderType, programInterfaceInfo, in GlslangAssignLocations()
4848 AssignNonTextureBindings(options, programExecutable, shaderType, programInterfaceInfo, in GlslangAssignLocations()
4859 AssignTransformFeedbackEmulationBindings(shaderType, programExecutable, in GlslangAssignLocations()
4866 const gl::ProgramExecutable &programExecutable, in GlslangAssignTransformFeedbackLocations() argument
4875 programExecutable.getLinkedTransformFeedbackVaryings(); in GlslangAssignTransformFeedbackLocations()
4924 const gl::ProgramExecutable &programExecutable = programState.getExecutable(); in GlslangGetShaderSpirvCode() local
4930 for (const gl::ShaderType shaderType : programExecutable.getLinkedShaderStages()) in GlslangGetShaderSpirvCode()
4934 !programExecutable.getLinkedTransformFeedbackVaryings().empty(); in GlslangGetShaderSpirvCode()
4938 GlslangAssignTransformFeedbackLocations(shaderType, programExecutable, isXfbStage, in GlslangGetShaderSpirvCode()
4943 for (const gl::ShaderType shaderType : programExecutable.getLinkedShaderStages()) in GlslangGetShaderSpirvCode()
4946 !programExecutable.getLinkedTransformFeedbackVaryings().empty(); in GlslangGetShaderSpirvCode()
4947 GlslangAssignLocations(options, programExecutable, resources.varyingPacking, shaderType, in GlslangGetShaderSpirvCode()