/external/angle/src/libANGLE/renderer/vulkan/ |
D | ProgramPipelineVk.cpp | 43 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in fillProgramStateMap() local 45 (*programStatesOut)[shaderType] = nullptr; in fillProgramStateMap() 47 ProgramVk *programVk = getShaderProgram(contextVk->getState(), shaderType); in fillProgramStateMap() 50 (*programStatesOut)[shaderType] = &programVk->getState(); in fillProgramStateMap() 77 for (const gl::ShaderType shaderType : glExecutable.getLinkedShaderStages()) in link() local 80 const_cast<gl::Program *>(glPipeline->getShaderProgram(shaderType)); in link() 84 shaderType == linkedTransformFeedbackStage && in link() 87 gl::ShaderTypeSupportsTransformFeedback(shaderType)) in link() 90 shaderType, glProgram->getState(), isTransformFeedbackStage, in link() 97 for (const gl::ShaderType shaderType : glExecutable.getLinkedShaderStages()) in link() local [all …]
|
D | ProgramVk.cpp | 178 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in load() local 185 mDefaultUniformBlocks[shaderType].uniformLayout.push_back(blockInfo); in load() 190 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in load() local 192 requiredBufferSize[shaderType] = stream->readInt<size_t>(); in load() 212 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in save() local 214 const size_t uniformCount = mDefaultUniformBlocks[shaderType].uniformLayout.size(); in save() 219 mDefaultUniformBlocks[shaderType].uniformLayout[uniformIndex]; in save() 225 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in save() local 227 stream->writeInt(mDefaultUniformBlocks[shaderType].uniformData.size()); in save() 245 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in fillProgramStateMap() local [all …]
|
D | ProgramExecutableVk.cpp | 69 for (gl::ShaderType shaderType : linkedShaderStages) in ValidateTransformedSpirV() local 72 options.shaderType = shaderType; in ValidateTransformedSpirV() 77 options.isTransformFeedbackStage = shaderType == lastPreFragmentStage; in ValidateTransformedSpirV() 80 if (GlslangWrapperVk::TransformSpirV(options, variableInfoMap, spirvBlobs[shaderType], in ValidateTransformedSpirV() 137 for (const gl::ShaderType shaderType : gl::AllShaderTypes()) in initShaders() local 139 if (spirvBlobs[shaderType] != nullptr) in initShaders() 141 mSpirvBlobs[shaderType] = *spirvBlobs[shaderType]; in initShaders() 164 for (const gl::ShaderType shaderType : gl::AllShaderTypes()) in load() local 166 angle::spirv::Blob *spirvBlob = &mSpirvBlobs[shaderType]; in load() 180 for (const gl::ShaderType shaderType : gl::AllShaderTypes()) in save() local [all …]
|
D | ProgramVk.h | 110 bool isShaderUniformDirty(gl::ShaderType shaderType) const in isShaderUniformDirty() argument 112 return mDefaultUniformBlocksDirty[shaderType]; in isShaderUniformDirty() 114 void setShaderUniformDirtyBit(gl::ShaderType shaderType) in setShaderUniformDirtyBit() argument 116 if (!mDefaultUniformBlocks[shaderType].uniformData.empty()) in setShaderUniformDirtyBit() 118 mDefaultUniformBlocksDirty.set(shaderType); in setShaderUniformDirtyBit() 121 void clearShaderUniformDirtyBit(gl::ShaderType shaderType) in clearShaderUniformDirtyBit() argument 123 mDefaultUniformBlocksDirty.reset(shaderType); in clearShaderUniformDirtyBit() 131 size_t getDefaultUniformAlignedSize(ContextVk *contextVk, const gl::ShaderType shaderType) const in getDefaultUniformAlignedSize() argument 136 return roundUp(mDefaultUniformBlocks[shaderType].uniformData.size(), alignment); in getDefaultUniformAlignedSize() 145 const gl::ShaderType shaderType, in initGraphicsShaderProgram() argument [all …]
|
/external/deqp/framework/opengl/ |
D | gluShaderProgram.cpp | 40 Shader::Shader (const RenderContext& renderCtx, ShaderType shaderType) in Shader() argument 44 m_info.type = shaderType; in Shader() 45 m_shader = m_gl.createShader(getGLShaderType(shaderType)); in Shader() 50 Shader::Shader (const glw::Functions& gl, ShaderType shaderType) in Shader() argument 54 m_info.type = shaderType; in Shader() 55 m_shader = m_gl.createShader(getGLShaderType(shaderType)); in Shader() 398 for (int shaderType = 0; shaderType < SHADERTYPE_LAST; shaderType++) in init() local 400 for (int shaderNdx = 0; shaderNdx < (int)sources.sources[shaderType].size(); ++shaderNdx) in init() 402 const char* source = sources.sources[shaderType][shaderNdx].c_str(); in init() 403 const int length = (int)sources.sources[shaderType][shaderNdx].size(); in init() [all …]
|
D | gluShaderProgram.hpp | 87 Shader (const glw::Functions& gl, ShaderType shaderType); 88 Shader (const RenderContext& renderCtx, ShaderType shaderType); 201 …bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].emp… in hasShader() 202 …Shader* getShader (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders… in getShader() argument 203 …int getNumShaders (glu::ShaderType shaderType) const { return (int)m_shaders[shaderTy… in getNumShaders() 204 …erInfo& getShaderInfo (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders… in getShaderInfo() argument 220 deUint32 getGLShaderType (ShaderType shaderType); 221 deUint32 getGLShaderTypeBit (ShaderType shaderType); 222 qpShaderType getLogShaderType (ShaderType shaderType); 273 ShaderType shaderType; member [all …]
|
/external/angle/src/libANGLE/ |
D | ProgramPipeline.cpp | 36 for (const ShaderType shaderType : gl::AllShaderTypes()) in ProgramPipelineState() local 38 mPrograms[shaderType] = nullptr; in ProgramPipelineState() 58 const ShaderType shaderType, in useProgramStage() argument 62 Program *oldProgram = mPrograms[shaderType]; in useProgramStage() 72 shaderProgram->getExecutable().hasLinkedShaderStage(shaderType)) in useProgramStage() 74 mPrograms[shaderType] = shaderProgram; in useProgramStage() 82 mPrograms[shaderType] = nullptr; in useProgramStage() 85 Program *program = mPrograms[shaderType]; in useProgramStage() 98 ShaderType shaderType = GetShaderTypeFromBitfield(angle::Bit<size_t>(singleShaderBit)); in useProgramStages() local 99 if (shaderType == ShaderType::InvalidEnum) in useProgramStages() [all …]
|
D | ProgramLinkedResources.cpp | 36 void SetActive(std::vector<VarT> *list, const std::string &name, ShaderType shaderType, bool active) in SetActive() argument 42 variable.setActive(shaderType, active); in SetActive() 123 GLuint GetMaximumShaderUniformVectors(ShaderType shaderType, const Caps &caps) in GetMaximumShaderUniformVectors() argument 125 switch (shaderType) in GetMaximumShaderUniformVectors() 136 return static_cast<GLuint>(caps.maxShaderUniformComponents[shaderType]) / 4; in GetMaximumShaderUniformVectors() 173 std::string GetUniformResourceLimitName(ShaderType shaderType, UniformType uniformType) in GetUniformResourceLimitName() argument 176 if (shaderType == ShaderType::Fragment && uniformType == UniformType::Sampler) in GetUniformResourceLimitName() 182 ostream << "MAX_" << GetShaderTypeString(shaderType) << "_"; in GetUniformResourceLimitName() 189 if (shaderType == ShaderType::Vertex || shaderType == ShaderType::Fragment) in GetUniformResourceLimitName() 216 if (shaderType == ShaderType::Geometry) in GetUniformResourceLimitName() [all …]
|
D | ProgramExecutable.cpp | 279 for (ShaderType shaderType : gl::AllShaderTypes()) in load() local 281 uniform.setActive(shaderType, stream->readBool()); in load() 422 for (ShaderType shaderType : mLinkedGraphicsShaderStages) in load() local 424 mLinkedOutputVaryings[shaderType].resize(stream->readInt<size_t>()); in load() 425 for (sh::ShaderVariable &variable : mLinkedOutputVaryings[shaderType]) in load() 429 mLinkedInputVaryings[shaderType].resize(stream->readInt<size_t>()); in load() 430 for (sh::ShaderVariable &variable : mLinkedInputVaryings[shaderType]) in load() 434 mLinkedShaderVersions[shaderType] = stream->readInt<int>(); in load() 436 for (ShaderType shaderType : mLinkedComputeShaderStages) in load() local 438 mLinkedOutputVaryings[shaderType].resize(stream->readInt<size_t>()); in load() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderApiTests.cpp | 72 const char* getSimpleShaderSource (const glu::ShaderType shaderType) in getSimpleShaderSource() argument 77 switch (shaderType) in getSimpleShaderSource() 176 virtual std::string next (const glu::ShaderType shaderType) = 0; 177 virtual bool finished (const glu::ShaderType shaderType) const = 0; 186 bool finished (const glu::ShaderType shaderType) const { DE_UNREF(shaderType); return false; } in finished() 188 std::string next (const glu::ShaderType shaderType); 194 std::string ConstantShaderGenerator::next (const glu::ShaderType shaderType) in next() argument 196 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType == glu::SHADERTYPE_FRAGMENT); in next() 200 …const std::string outputName = (shaderType == glu::SHADERTYPE_VERTEX) ? "gl_Position" : "gl_FragCo… in next() 217 bool hasShader (const glu::ShaderType shaderType); [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderApiTests.cpp | 77 const char* getSimpleShaderSource (const glu::ShaderType shaderType) in getSimpleShaderSource() argument 94 switch (shaderType) in getSimpleShaderSource() 221 virtual std::string next (const glu::ShaderType shaderType) = 0; 222 virtual bool finished (const glu::ShaderType shaderType) const = 0; 231 bool finished (const glu::ShaderType shaderType) const { DE_UNREF(shaderType); return false; } in finished() 233 std::string next (const glu::ShaderType shaderType); 239 std::string ConstantShaderGenerator::next (const glu::ShaderType shaderType) in next() argument 241 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType == glu::SHADERTYPE_FRAGMENT); in next() 245 …const std::string outputName = (shaderType == glu::SHADERTYPE_VERTEX) ? "gl_Position" : "o_fragCol… in next() 251 if (shaderType == glu::SHADERTYPE_FRAGMENT) in next() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkShaderProgram.cpp | 33 sources[shaderSource.shaderType].push_back(shaderSource.source); in operator <<() 45 sources[shaderSource.shaderType].push_back(shaderSource.source); in operator <<() 61 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++) in logShader() local 63 for (size_t shaderNdx = 0; shaderNdx < sources[shaderType].size(); shaderNdx++) in logShader() 65 log << tcu::TestLog::Shader(glu::getLogShaderType((glu::ShaderType)shaderType), in logShader() 66 sources[shaderType][shaderNdx], in logShader()
|
D | vkShaderToSpirV.cpp | 210 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; ++shaderType) in getNumShaderStages() local 212 if (!sources[shaderType].empty()) in getNumShaderStages() 219 …d::vector<std::string>* sources, const ShaderBuildOptions buildOptions, glu::ShaderType shaderType) in getShaderStageSource() argument 221 if (sources[shaderType].size() != 1) in getShaderStageSource() 227 std::string src = sources[shaderType][0]; in getShaderStageSource() 238 return sources[shaderType][0]; in getShaderStageSource() 271 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++) in compileShaderToSpirV() local 273 if (!sources[shaderType].empty()) in compileShaderToSpirV() 275 …td::string& srcText = getShaderStageSource(sources, buildOptions, (glu::ShaderType)shaderType); in compileShaderToSpirV() 277 const EShLanguage shaderStage = getGlslangStage(glu::ShaderType(shaderType)); in compileShaderToSpirV() [all …]
|
/external/angle/src/libANGLE/renderer/d3d/ |
D | ProgramD3D.cpp | 194 for (gl::ShaderType shaderType : gl::kAllGraphicsShaderTypes) in FindFlatInterpolationVarying() local 196 gl::Shader *shader = shaders[shaderType]; in FindFlatInterpolationVarying() 215 UniformEncodingVisitorD3D(gl::ShaderType shaderType, in UniformEncodingVisitorD3D() argument 220 mShaderType(shaderType), in UniformEncodingVisitorD3D() 344 bool D3DUniform::isReferencedByShader(gl::ShaderType shaderType) const in isReferencedByShader() 346 return mShaderRegisterIndexes[shaderType] != GL_INVALID_INDEX; in isReferencedByShader() 356 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in firstNonNullData() local 358 if (mShaderData[shaderType]) in firstNonNullData() 360 return mShaderData[shaderType]; in firstNonNullData() 806 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in updateSamplerMapping() local [all …]
|
/external/angle/src/libANGLE/renderer/metal/ |
D | ProgramMtl.mm | 277 for (gl::ShaderType shaderType : gl::AllShaderTypes()) 279 mMslShaderTranslateInfo[shaderType].reset(); 309 for (const gl::ShaderType shaderType : gl::AllShaderTypes()) 311 stream->writeString(mMslShaderTranslateInfo[shaderType].metalShaderSource); 318 for (const gl::ShaderType shaderType : gl::AllShaderTypes()) 320 mMslShaderTranslateInfo[shaderType].metalShaderSource = stream->readString(); 399 for (gl::ShaderType shaderType : gl::kAllGLES2ShaderTypes) 402 ANGLE_TRY(createMslShaderLib(contextMtl, shaderType, infoLog, 403 &mMslShaderTranslateInfo[shaderType], 429 for (gl::ShaderType shaderType : gl::kAllGLES2ShaderTypes) [all …]
|
/external/angle/src/libANGLE/renderer/ |
D | glslang_wrapper_utils.h | 56 gl::ShaderType shaderType = gl::ShaderType::InvalidEnum; member 133 bool contains(gl::ShaderType shaderType, const std::string &variableName) const; 134 const ShaderInterfaceVariableInfo &get(gl::ShaderType shaderType, 136 ShaderInterfaceVariableInfo &get(gl::ShaderType shaderType, const std::string &variableName); 137 ShaderInterfaceVariableInfo &add(gl::ShaderType shaderType, const std::string &variableName); 138 ShaderInterfaceVariableInfo &addOrGet(gl::ShaderType shaderType, 140 size_t variableCount(gl::ShaderType shaderType) const { return mData[shaderType].size(); } in variableCount() argument 159 Iterator getIterator(gl::ShaderType shaderType) const; 174 const gl::ShaderType shaderType, 180 void GlslangAssignTransformFeedbackLocations(gl::ShaderType shaderType,
|
D | glslang_wrapper_utils.cpp | 93 gl::ShaderType shaderType, in AddResourceInfoToAllStages() argument 101 ShaderInterfaceVariableInfo &info = infoMap->add(shaderType, varName); in AddResourceInfoToAllStages() 109 gl::ShaderType shaderType, in AddResourceInfo() argument 115 stages.set(shaderType); in AddResourceInfo() 117 ShaderInterfaceVariableInfo &info = infoMap->add(shaderType, varName); in AddResourceInfo() 126 gl::ShaderType shaderType, in AddLocationInfo() argument 135 ShaderInterfaceVariableInfo &info = infoMap->addOrGet(shaderType, varName); in AddLocationInfo() 144 info.activeStages.set(shaderType); in AddLocationInfo() 164 gl::ShaderType shaderType, in SetXfbInfo() argument 176 ShaderInterfaceVariableInfo &info = infoMap->get(shaderType, varName); in SetXfbInfo() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderIntegerFunctionTests.cpp | 113 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) in getShaderUintBitCount() argument 116 DE_UNREF(shaderType); in getShaderUintBitCount() 139 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dat… in generateRandomInputData() argument 142 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision); in generateRandomInputData() 196 …tIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getIntegerFuncCaseName() argument 198 …lu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); in getIntegerFuncCaseName() 291 …(tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType); 314 … (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) in IntegerFunctionCase() argument 316 , m_shaderType (shaderType) in IntegerFunctionCase() 335 …IntegerFunctionTestInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec… in IntegerFunctionTestInstance() argument [all …]
|
D | vktShaderPackingFunctionTests.cpp | 75 …(tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType); 93 … (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) in ShaderPackingFunctionCase() argument 95 , m_shaderType (shaderType) in ShaderPackingFunctionCase() 113 …ShaderPackingFunctionTestInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec&… in ShaderPackingFunctionTestInstance() argument 116 , m_shaderType (shaderType) in ShaderPackingFunctionTestInstance() 136 …PackSnorm2x16CaseInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, g… in PackSnorm2x16CaseInstance() argument 137 : ShaderPackingFunctionTestInstance (context, shaderType, spec, name) in PackSnorm2x16CaseInstance() 232 PackSnorm2x16Case (tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) in PackSnorm2x16Case() argument 233 …tPrecisionPostfix(precision) + getShaderTypePostfix(shaderType)).c_str(), "packSnorm2x16", shaderT… in PackSnorm2x16Case() 254 …UnpackSnorm2x16CaseInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec,… in UnpackSnorm2x16CaseInstance() argument [all …]
|
/external/deqp/modules/gles3/stress/ |
D | es3sLongShaderTests.cpp | 82 const char* getConstShaderSource (const glu::ShaderType shaderType) in getConstShaderSource() argument 84 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType == glu::SHADERTYPE_FRAGMENT); in getConstShaderSource() 86 if (shaderType == glu::SHADERTYPE_VERTEX) in getConstShaderSource() 162 glu::ShaderType shaderType; member 169 : shaderType (shaderTypeInit) in LongShaderSpec() 214 …DE_ASSERT(m_spec.shaderType == glu::SHADERTYPE_VERTEX || m_spec.shaderType == glu::SHADERTYPE_FRAG… in LongShaderGenerator() 222 return glu::ShaderSource(m_spec.shaderType, m_source); in getSource() 233 if (m_spec.shaderType == glu::SHADERTYPE_FRAGMENT) in generateSource() 274 return (m_spec.shaderType == glu::SHADERTYPE_VERTEX) ? "gl_Position" : "o_fragColor"; in getShaderOutputName() 369 , m_shaderType (caseSpec.shaderType) in LongShaderCompileStressCase() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderUniformIntegerFunctionTests.cpp | 45 …xt, const char* description, int inputValue, glu::Precision precision, glu::ShaderType shaderType); 66 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType); 68 …ext, const char* description, int inputValue, glu::Precision precision, glu::ShaderType shaderType) in UniformIntegerFunctionCase() argument 69 : TestCase(context, getCaseName(precision, shaderType).c_str(), description) in UniformIntegerFunctionCase() 70 , m_shaderType(shaderType) in UniformIntegerFunctionCase() 146 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType) in getCaseName() argument 148 return string(getPrecisionName(precision)) + getShaderTypePostfix(shaderType); in getCaseName() 163 …MSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shaderType) in FindMSBEdgeCase() argument 164 : UniformIntegerFunctionCase(context, "findMSB", inputValue, precision, shaderType) in FindMSBEdgeCase() 190 …LSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shaderType) in FindLSBEdgeCase() argument [all …]
|
/external/webrtc/sdk/android/src/java/org/webrtc/ |
D | GlGenericDrawer.java | 91 static String createFragmentShaderString(String genericFragmentSource, ShaderType shaderType) { in createFragmentShaderString() argument 93 if (shaderType == ShaderType.OES) { in createFragmentShaderString() 99 if (shaderType == ShaderType.YUV) { in createFragmentShaderString() 116 final String samplerName = shaderType == ShaderType.OES ? "samplerExternalOES" : "sampler2D"; in createFragmentShaderString() 147 GlShader createShader(ShaderType shaderType) { in createShader() argument 149 vertexShader, createFragmentShaderString(genericFragmentSource, shaderType)); in createShader() 214 private void prepareShader(ShaderType shaderType, float[] texMatrix, int frameWidth, in prepareShader() argument 217 if (shaderType.equals(currentShaderType)) { in prepareShader() 222 currentShaderType = shaderType; in prepareShader() 226 shader = createShader(shaderType); in prepareShader() [all …]
|
/external/angle/src/compiler/translator/ |
D | ValidateVaryingLocations.cpp | 118 bool ShouldIgnoreVaryingArraySize(TQualifier qualifier, GLenum shaderType) in ShouldIgnoreVaryingArraySize() argument 122 switch (shaderType) in ShouldIgnoreVaryingArraySize() 179 GLenum shaderType) in ValidateShaderInterfaceAndAssignLocations() argument 195 ShouldIgnoreVaryingArraySize(varying->getQualifier(), shaderType); in ValidateShaderInterfaceAndAssignLocations() 279 ValidateVaryingLocationsTraverser(GLenum shaderType); 291 ValidateVaryingLocationsTraverser::ValidateVaryingLocationsTraverser(GLenum shaderType) in ValidateVaryingLocationsTraverser() argument 292 : TIntermTraverser(true, false, false), mShaderType(shaderType) in ValidateVaryingLocationsTraverser() 346 unsigned int CalculateVaryingLocationCount(const TType &varyingType, GLenum shaderType) in CalculateVaryingLocationCount() argument 349 const bool ignoreVaryingArraySize = ShouldIgnoreVaryingArraySize(qualifier, shaderType); in CalculateVaryingLocationCount() 359 bool ValidateVaryingLocations(TIntermBlock *root, TDiagnostics *diagnostics, GLenum shaderType) in ValidateVaryingLocations() argument [all …]
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | StateManager11.cpp | 290 StateManager11::SRVCache *StateManager11::getSRVCache(gl::ShaderType shaderType) in getSRVCache() argument 292 ASSERT(shaderType != gl::ShaderType::InvalidEnum); in getSRVCache() 293 return &mCurShaderSRVs[shaderType]; in getSRVCache() 306 for (gl::ShaderType shaderType : gl::AllShaderTypes()) in init() local 308 mShaderSamplerMetadata[shaderType].resize(caps.maxShaderTextureImageUnits[shaderType]); in init() 309 mShaderReadonlyImageMetadata[shaderType].resize(caps.maxShaderImageUniforms[shaderType]); in init() 310 mShaderImageMetadata[shaderType].resize(caps.maxShaderImageUniforms[shaderType]); in init() 314 size_t ShaderConstants11::GetShaderConstantsStructSize(gl::ShaderType shaderType) in GetShaderConstantsStructSize() argument 316 switch (shaderType) in GetShaderConstantsStructSize() 335 size_t ShaderConstants11::getRequiredBufferSize(gl::ShaderType shaderType) const in getRequiredBufferSize() [all …]
|
/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | ProgramPrelude.h | 33 explicit ProgramPreludeConfig(MetalShaderType shaderType) : shaderType(shaderType) {} in ProgramPreludeConfig() 35 MetalShaderType shaderType = MetalShaderType::None; member
|