Home
last modified time | relevance | path

Searched refs:shaderType (Results 1 – 25 of 130) sorted by relevance

123456

/external/deqp/framework/opengl/
DgluShaderProgram.cpp40 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()
327 for (int shaderType = 0; shaderType < SHADERTYPE_LAST; shaderType++) in init() local
329 for (int shaderNdx = 0; shaderNdx < (int)sources.sources[shaderType].size(); ++shaderNdx) in init()
331 const char* source = sources.sources[shaderType][shaderNdx].c_str(); in init()
332 const int length = (int)sources.sources[shaderType][shaderNdx].size(); in init()
[all …]
DgluShaderProgram.hpp84 Shader (const glw::Functions& gl, ShaderType shaderType);
85 Shader (const RenderContext& renderCtx, ShaderType shaderType);
193 …bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].emp… in hasShader()
194 …int getNumShaders (glu::ShaderType shaderType) const { return (int)m_shaders[shaderTy… in getNumShaders()
195 …erInfo& getShaderInfo (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders… in getShaderInfo() argument
209 deUint32 getGLShaderType (ShaderType shaderType);
210 deUint32 getGLShaderTypeBit (ShaderType shaderType);
211 qpShaderType getLogShaderType (ShaderType shaderType);
262 ShaderType shaderType; member
265 ShaderSource (void) : shaderType(SHADERTYPE_LAST) {} in ShaderSource()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderApiTests.cpp72 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/
Des3fShaderApiTests.cpp77 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 …]
Des3fShaderCommonFunctionTests.cpp167 …ionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType);
191 …ctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) in CommonFunctionCase() argument
193 , m_shaderType (shaderType) in CommonFunctionCase()
403 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix() argument
410 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); in getShaderTypePostfix()
411 return s_postfix[shaderType]; in getShaderTypePostfix()
414 …etCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getCommonFuncCaseName() argument
416 …lu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); in getCommonFuncCaseName()
422 …se (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in AbsCase() argument
423 …ionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "abs", shaderType) in AbsCase()
[all …]
Des3fShaderPackingFunctionTests.cpp72 …tionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType);
88 …ctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) in ShaderPackingFunctionCase() argument
90 , m_shaderType (shaderType) in ShaderPackingFunctionCase()
133 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix() argument
140 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); in getShaderTypePostfix()
141 return s_postfix[shaderType]; in getShaderTypePostfix()
147 PackSnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) in PackSnorm2x16Case() argument
148 …tPrecisionPostfix(precision) + getShaderTypePostfix(shaderType)).c_str(), "packSnorm2x16", shaderT… in PackSnorm2x16Case()
251 UnpackSnorm2x16Case (Context& context, glu::ShaderType shaderType) in UnpackSnorm2x16Case() argument
252 … (string("unpacksnorm2x16") + getShaderTypePostfix(shaderType)).c_str(), "unpackSnorm2x16", shader… in UnpackSnorm2x16Case()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkShaderProgram.cpp33 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()
DvkShaderToSpirV.cpp198 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; ++shaderType) in getNumShaderStages() local
200 if (!sources[shaderType].empty()) in getNumShaderStages()
207 …d::vector<std::string>* sources, const ShaderBuildOptions buildOptions, glu::ShaderType shaderType) in getShaderStageSource() argument
209 if (sources[shaderType].size() != 1) in getShaderStageSource()
215 std::string src = sources[shaderType][0]; in getShaderStageSource()
226 return sources[shaderType][0]; in getShaderStageSource()
259 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++) in compileShaderToSpirV() local
261 if (!sources[shaderType].empty()) in compileShaderToSpirV()
263 …td::string& srcText = getShaderStageSource(sources, buildOptions, (glu::ShaderType)shaderType); in compileShaderToSpirV()
266 const EShLanguage shaderStage = getGlslangStage(glu::ShaderType(shaderType)); in compileShaderToSpirV()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderIntegerFunctionTests.cpp113 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()
209 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix() argument
220 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); in getShaderTypePostfix()
221 return s_postfix[shaderType]; in getShaderTypePostfix()
224 …tIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getIntegerFuncCaseName() argument
226 …lu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); in getIntegerFuncCaseName()
319 …(tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType);
[all …]
DvktShaderCommonFunctionTests.cpp354 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix() argument
365 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); in getShaderTypePostfix()
366 return s_postfix[shaderType]; in getShaderTypePostfix()
369 …etCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getCommonFuncCaseName() argument
371 …lu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); in getCommonFuncCaseName()
446 …(tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType);
464 … (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) in CommonFunctionCase() argument
466 , m_shaderType (shaderType) in CommonFunctionCase()
480 …CommonFunctionTestInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, … in CommonFunctionTestInstance() argument
482 , m_shaderType (shaderType) in CommonFunctionTestInstance()
[all …]
DvktShaderPackingFunctionTests.cpp80 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix() argument
91 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); in getShaderTypePostfix()
92 return s_postfix[shaderType]; in getShaderTypePostfix()
102 …(tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType);
119 … (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) in ShaderPackingFunctionCase() argument
121 , m_shaderType (shaderType) in ShaderPackingFunctionCase()
134 …ShaderPackingFunctionTestInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec&… in ShaderPackingFunctionTestInstance() argument
137 , m_shaderType (shaderType) in ShaderPackingFunctionTestInstance()
157 …PackSnorm2x16CaseInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, g… in PackSnorm2x16CaseInstance() argument
158 : ShaderPackingFunctionTestInstance (context, shaderType, spec, name) in PackSnorm2x16CaseInstance()
[all …]
DvktOpaqueTypeIndexingTests.cpp177 const glu::ShaderType shaderType,
196 const glu::ShaderType shaderType, in OpaqueTypeIndexingCase() argument
200 , m_shaderType (shaderType) in OpaqueTypeIndexingCase()
213 const glu::ShaderType shaderType,
233 const glu::ShaderType shaderType, in OpaqueTypeIndexingTestInstance() argument
239 , m_shaderType (shaderType) in OpaqueTypeIndexingTestInstance()
701 const glu::ShaderType shaderType,
717 const glu::ShaderType shaderType, in SamplerIndexingCaseInstance() argument
723 : OpaqueTypeIndexingTestInstance (context, shaderType, shaderSpec, name, indexExprType) in SamplerIndexingCaseInstance()
1077 const glu::ShaderType shaderType,
[all …]
/external/deqp/modules/gles31/functional/
Des31fShaderUniformIntegerFunctionTests.cpp45 …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()
159 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix() argument
170 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); in getShaderTypePostfix()
171 return s_postfix[shaderType]; in getShaderTypePostfix()
174 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType) in getCaseName() argument
176 return string(getPrecisionPostfix(precision)) + getShaderTypePostfix(shaderType); in getCaseName()
[all …]
Des31fShaderIntegerFunctionTests.cpp111 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) in getShaderUintBitCount() argument
114 DE_UNREF(shaderType); in getShaderUintBitCount()
137 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dat… in generateRandomInputData() argument
140 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision); in generateRandomInputData()
165 …ionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType);
189 …ctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) in IntegerFunctionCase() argument
191 , m_shaderType (shaderType) in IntegerFunctionCase()
335 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix() argument
346 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); in getShaderTypePostfix()
347 return s_postfix[shaderType]; in getShaderTypePostfix()
[all …]
Des31fShaderCommonFunctionTests.cpp240 …ionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType);
264 …ctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) in CommonFunctionCase() argument
266 , m_shaderType (shaderType) in CommonFunctionCase()
477 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix() argument
488 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); in getShaderTypePostfix()
489 return s_postfix[shaderType]; in getShaderTypePostfix()
492 …etCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getCommonFuncCaseName() argument
494 …lu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); in getCommonFuncCaseName()
500 …se (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in AbsCase() argument
501 …ionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "abs", shaderType) in AbsCase()
[all …]
Des31fLayoutBindingTests.cpp88 std::string generateVertexShader (ShaderType shaderType, const std::string& shaderUniformDeclaratio… in generateVertexShader() argument
97 switch (shaderType) in generateVertexShader()
130 std::string generateFragmentShader (ShaderType shaderType, const std::string& shaderUniformDeclarat… in generateFragmentShader() argument
140 switch (shaderType) in generateFragmentShader()
188 std::string generateTessControlShader (ShaderType shaderType, const std::string& shaderUniformDecla… in generateTessControlShader() argument
199 switch (shaderType) in generateTessControlShader()
232 std::string generateTessEvaluationShader (ShaderType shaderType, const std::string& shaderUniformDe… in generateTessEvaluationShader() argument
243 switch (shaderType) in generateTessEvaluationShader()
309 ShaderType shaderType,
356 ShaderType shaderType, in LayoutBindingRenderCase() argument
[all …]
Des31fShaderPackingFunctionTests.cpp72 …tionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType);
88 …ctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) in ShaderPackingFunctionCase() argument
90 , m_shaderType (shaderType) in ShaderPackingFunctionCase()
133 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix() argument
144 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); in getShaderTypePostfix()
145 return s_postfix[shaderType]; in getShaderTypePostfix()
151 PackSnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) in PackSnorm2x16Case() argument
152 …tPrecisionPostfix(precision) + getShaderTypePostfix(shaderType)).c_str(), "packSnorm2x16", shaderT… in PackSnorm2x16Case()
255 UnpackSnorm2x16Case (Context& context, glu::ShaderType shaderType) in UnpackSnorm2x16Case() argument
256 … (string("unpacksnorm2x16") + getShaderTypePostfix(shaderType)).c_str(), "unpackSnorm2x16", shader… in UnpackSnorm2x16Case()
[all …]
Des31fShaderBuiltinConstantTests.cpp136 bool verifyInShaderType (glu::ShaderType shaderType, DataType reference);
187 glu::ShaderType shaderType, in createGetConstantExecutor() argument
205 return createExecutor(renderCtx, shaderType, shaderSpec); in createGetConstantExecutor()
221 bool ShaderBuiltinConstantCase<DataType>::verifyInShaderType (glu::ShaderType shaderType, DataType … in verifyInShaderType() argument
225 …haderExecutor (createGetConstantExecutor(m_context.getRenderContext(), shaderType, glu::dataTypeOf… in verifyInShaderType()
259 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++) in iterate() local
261 if ((SHADER_TYPES & (1<<shaderType)) != 0) in iterate()
263 const char* const shaderTypeName = glu::getShaderTypeName(glu::ShaderType(shaderType)); in iterate()
268 const bool isOk = verifyInShaderType(glu::ShaderType(shaderType), reference); in iterate()
/external/deqp/modules/gles3/stress/
Des3sLongShaderTests.cpp82 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/external/openglcts/modules/gl/
Dgl4cShaderBallotTests.cpp166 for (unsigned int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; ++shaderType) in ShaderPipeline() local
168 m_shaderChunks[shaderType] = new char*[m_shaders[shaderType].size()]; in ShaderPipeline()
171 m_shaderChunks[shaderType][i] = (char*)m_shaders[shaderType][i].data(); in ShaderPipeline()
188 for (unsigned int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; ++shaderType) in ~ShaderPipeline() local
190 delete[] m_shaderChunks[shaderType]; in ~ShaderPipeline()
194 …* const* ShaderBallotBaseTestCase::ShaderPipeline::getShaderParts(glu::ShaderType shaderType) const in getShaderParts()
196 return m_shaderChunks[shaderType]; in getShaderParts()
199 …int ShaderBallotBaseTestCase::ShaderPipeline::getShaderPartsCount(glu::ShaderType shaderType) const in getShaderPartsCount()
201 return m_shaders[shaderType].size(); in getShaderPartsCount()
332 glu::ShaderType shaderType = (glu::ShaderType)i; in createShaderPrograms() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessBufferAccessTests.cpp80 ShaderType shaderType,
86 static void genBufferShaderAccess (ShaderType shaderType,
100 ShaderType shaderType,
116 ShaderType shaderType,
140 ShaderType shaderType,
160 ShaderType shaderType,
226 ShaderType shaderType,
243 ShaderType shaderType,
261 ShaderType shaderType, in RobustBufferAccessTest() argument
265 , m_shaderType (shaderType) in RobustBufferAccessTest()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrImageQueryTests.cpp85 glu::ShaderType shaderType; member
91 , shaderType(shaderType_) in TestParameters()
99 , shaderType(glu::SHADERTYPE_LAST) in TestParameters()
428 …UniquePtr<ShaderExecutor> executor (createExecutor(context, params.shaderType, getShaderSpec(param… in testImageQuery()
555 DE_ASSERT(params.shaderType == glu::SHADERTYPE_FRAGMENT); in testImageQueryLod()
685 generateSources(params.shaderType, spec, dst); in initImageQueryPrograms()
731 glu::ShaderType shaderType; member
735 , shaderType(shaderType_) in QueryGroupParams()
740 , shaderType(glu::SHADERTYPE_LAST) in QueryGroupParams()
747 …ageQueryCase(group, TestParameters(params.query, VK_FORMAT_R8G8B8A8_UNORM, 0u, params.shaderType)); in populateQueryInShaderGroup()
[all …]
DvktYCbCrConversionTests.cpp138 : shaderType (shaderType_) in TestConfig()
157 glu::ShaderType shaderType; member
419 glu::ShaderType shaderType, in evalShader() argument
471 …const de::UniquePtr<ShaderExecutor> executor (createExecutor(context, shaderType, spec, *lay… in evalShader()
496 log << TestLog::Message << "ShaderType: " << config.shaderType << TestLog::EndMessage; in logTestCaseInfo()
698 …evalShader(context, config.shaderType, src, size, config.format, config.imageTiling, config.disjoi… in textureConversionTest()
909 generateSources(config.shaderType, spec, dst); in createTestShaders()
977 generateSources(config.shaderType, spec, dst); in createTestShaders()
1150 …const glu::ShaderType shaderType (rng.choose<glu::ShaderType>(DE_ARRAY_BEGIN(shaderTypes), DE_… in initTests() local
1154 …const TestConfig config (shaderType, format, tiling, textureFilter, vk::VK_SAMPLER_ADDRESS_M… in initTests()
[all …]
/external/swiftshader/src/OpenGL/compiler/
DCompiler.cpp74 : shaderType(type), in TCompiler()
122 shaderType, compileOptions, true, in compile()
183 switch(shaderType) in InitBuiltInSymbolTable()
195 InsertBuiltInFunctions(shaderType, resources, symbolTable); in InitBuiltInSymbolTable()
197 IdentifyBuiltIns(shaderType, resources, symbolTable); in InitBuiltInSymbolTable()
242 ValidateLimitations validate(shaderType, infoSink.info); in validateLimitations()
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp93 string getShaderName (ShaderType shaderType, size_t progNdx) in getShaderName() argument
96 str << glu::getShaderTypeName(shaderType); in getShaderName()
566 glu::ShaderType shaderType, in specializeShaderSources() argument
569 if (!src.sources[shaderType].empty()) in specializeShaderSources()
573 for (size_t ndx = 0; ndx < src.sources[shaderType].size(); ++ndx) in specializeShaderSources()
575 const StringTemplate tmpl (src.sources[shaderType][ndx]); in specializeShaderSources()
577 …rceWithExts = injectExtensionRequirements(baseGLSLCode, specParams.requiredExtensions, shaderType); in specializeShaderSources()
579 dst << glu::ShaderSource(shaderType, sourceWithExts); in specializeShaderSources()
707 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++) in getShaderStages() local
709 if (!spec.programs[progNdx].sources.sources[shaderType].empty()) in getShaderStages()
[all …]

123456