Home
last modified time | relevance | path

Searched refs:ShaderType (Results 1 – 25 of 160) sorted by relevance

1234567

/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinition.hpp66 glu::ShaderType getType (void) const { return m_shaderType; } in getType()
74 Shader (glu::ShaderType type, glu::GLSLVersion version);
80 const glu::ShaderType m_shaderType;
93 Shader* addShader (glu::ShaderType type, glu::GLSLVersion version);
99 glu::ShaderType getFirstStage (void) const;
100 glu::ShaderType getLastStage (void) const;
101 bool hasStage (glu::ShaderType stage) const;
Des31fLayoutBindingTests.cpp70 enum ShaderType enum
85 std::string generateVertexShader (ShaderType shaderType, const std::string& shaderUniformDeclaratio… in generateVertexShader()
125 std::string generateFragmentShader (ShaderType shaderType, const std::string& shaderUniformDeclarat… in generateFragmentShader()
212 ShaderType shaderType,
234 const ShaderType m_shaderType;
259 ShaderType shaderType, in LayoutBindingRenderCase()
587 ShaderType shaderType,
605 const ShaderType m_shaderType;
624 ShaderType shaderType, in LayoutBindingNegativeCase()
831 …dingRenderCase (Context& context, const char* name, const char* desc, ShaderType shaderType, Test…
[all …]
Des31fNegativePreciseTests.cpp53 static const glu::ShaderType s_shaderTypes[] =
63 std::string generateShaderSource (NegativeTestContext& ctx, glu::ShaderType shaderType, TestPrecise… in generateShaderSource()
143 void generateAndVerifyShader (NegativeTestContext& ctx, glu::ShaderType shaderType, TestPrecise tes… in generateAndVerifyShader()
Des31fShaderIntegerFunctionTests.cpp111 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) in getShaderUintBitCount()
137 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dat… in generateRandomInputData()
165 …ionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType);
179 glu::ShaderType m_shaderType;
189 …ctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) in IntegerFunctionCase()
335 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix()
350 …tIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getIntegerFuncCaseName()
358 …UaddCarryCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType in UaddCarryCase()
454 …se (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in UsubBorrowCase()
548 …se (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in UmulExtendedCase()
[all …]
Des31fProgramInterfaceDefinition.cpp45 static const glu::ShaderType s_shaderStageOrder[] =
90 static int getShaderStageIndex (glu::ShaderType stage) in getShaderStageIndex()
92 …const glu::ShaderType* const it = std::find(DE_ARRAY_BEGIN(s_shaderStageOrder), DE_ARRAY_END(s_sha… in getShaderStageIndex()
105 Shader::Shader (glu::ShaderType type, glu::GLSLVersion version) in Shader()
455 Shader* Program::addShader (glu::ShaderType type, glu::GLSLVersion version) in addShader()
485 glu::ShaderType Program::getFirstStage (void) const in getFirstStage()
503 glu::ShaderType Program::getLastStage (void) const in getLastStage()
521 bool Program::hasStage (glu::ShaderType stage) const in hasStage()
Des31fProgramInterfaceDefinitionUtil.hpp89 static VariableSearchFilter createShaderTypeFilter (glu::ShaderType);
91 static VariableSearchFilter createShaderTypeStorageFilter (glu::ShaderType, glu::Storage);
174 glu::ShaderType getProgramTransformFeedbackStage (const ProgramInterfaceDefinition::Prog…
Des31fShaderCommonFunctionTests.cpp240 …ionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType);
254 glu::ShaderType m_shaderType;
264 …ctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) in CommonFunctionCase()
477 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix()
492 …etCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getCommonFuncCaseName()
500 …AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shade… in AbsCase()
582 …SignCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shad… in SignCase()
688 …RoundEvenCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType in RoundEvenCase()
799 …ModfCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shad… in ModfCase()
865 …IsnanCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType sha… in IsnanCase()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderApiTests.cpp72 const char* getSimpleShaderSource (const glu::ShaderType 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()
217 bool hasShader (const glu::ShaderType shaderType);
219 void setSource (const glu::ShaderType shaderType);
221 glu::Shader& createShader (const glu::ShaderType shaderType);
222 void deleteShader (const glu::ShaderType shaderType);
[all …]
/external/deqp/framework/opengl/
DgluShaderProgram.hpp48 ShaderType type; //!< Shader type.
84 Shader (const glw::Functions& gl, ShaderType shaderType);
85 Shader (const RenderContext& renderCtx, ShaderType shaderType);
94 glu::ShaderType getType (void) const { return getInfo().type; } in getType()
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 …const ShaderInfo& getShaderInfo (glu::ShaderType shaderType, int shaderNdx = 0) const { return… in getShaderInfo()
209 deUint32 getGLShaderType (ShaderType shaderType);
210 deUint32 getGLShaderTypeBit (ShaderType shaderType);
211 qpShaderType getLogShaderType (ShaderType shaderType);
[all …]
DgluShaderProgram.cpp40 Shader::Shader (const RenderContext& renderCtx, ShaderType shaderType) in Shader()
50 Shader::Shader (const glw::Functions& gl, ShaderType shaderType) in Shader()
336 m_shaders[shaderType].push_back(new Shader(gl, ShaderType(shaderType))); in init()
387 deUint32 getGLShaderType (ShaderType shaderType) in getGLShaderType()
403 deUint32 getGLShaderTypeBit (ShaderType shaderType) in getGLShaderTypeBit()
419 qpShaderType getLogShaderType (ShaderType shaderType) in getLogShaderType()
513 …for (int shaderNdx = 0; shaderNdx < shaderProgram.getNumShaders((ShaderType)shaderType); shaderNdx… in operator <<()
514 shaderPtrs.push_back(&shaderProgram.getShaderInfo((ShaderType)shaderType, shaderNdx)); in operator <<()
532 log << tcu::TestLog::Shader(getLogShaderType((ShaderType)shaderType), in operator <<()
/external/deqp/modules/gles3/functional/
Des3fShaderApiTests.cpp77 const char* getSimpleShaderSource (const glu::ShaderType 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()
270 bool hasShader (const glu::ShaderType shaderType);
272 void setSource (const glu::ShaderType shaderType);
274 glu::Shader& createShader (const glu::ShaderType shaderType);
275 void deleteShader (const glu::ShaderType shaderType);
[all …]
Des3fShaderCommonFunctionTests.cpp167 …ionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType);
181 glu::ShaderType m_shaderType;
191 …ctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) in CommonFunctionCase()
403 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix()
414 …etCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getCommonFuncCaseName()
422 …AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shade… in AbsCase()
504 …SignCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shad… in SignCase()
610 …RoundEvenCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType in RoundEvenCase()
721 …ModfCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shad… in ModfCase()
787 …IsnanCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType sha… in IsnanCase()
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDGPUAsmPrinter.cpp290 case ShaderType::COMPUTE: RsrcReg = R_0288D4_SQ_PGM_RESOURCES_LS; break; in EmitProgramInfoR600()
291 case ShaderType::GEOMETRY: RsrcReg = R_028878_SQ_PGM_RESOURCES_GS; break; in EmitProgramInfoR600()
292 case ShaderType::PIXEL: RsrcReg = R_028844_SQ_PGM_RESOURCES_PS; break; in EmitProgramInfoR600()
293 case ShaderType::VERTEX: RsrcReg = R_028860_SQ_PGM_RESOURCES_VS; break; in EmitProgramInfoR600()
299 case ShaderType::GEOMETRY: // Fall through in EmitProgramInfoR600()
300 case ShaderType::COMPUTE: // Fall through in EmitProgramInfoR600()
301 case ShaderType::VERTEX: RsrcReg = R_028868_SQ_PGM_RESOURCES_VS; break; in EmitProgramInfoR600()
302 case ShaderType::PIXEL: RsrcReg = R_028850_SQ_PGM_RESOURCES_PS; break; in EmitProgramInfoR600()
312 if (MFI->getShaderType() == ShaderType::COMPUTE) { in EmitProgramInfoR600()
523 static unsigned getRsrcReg(unsigned ShaderType) { in getRsrcReg() argument
[all …]
DAMDGPUMachineFunction.cpp13 ShaderType(ShaderType::COMPUTE), in AMDGPUMachineFunction()
19 ShaderType = AMDGPU::getShaderType(*MF.getFunction()); in AMDGPUMachineFunction()
DAMDGPUMachineFunction.h23 unsigned ShaderType; variable
37 return ShaderType; in getShaderType()
DAMDGPUTargetTransformInfo.cpp138 unsigned ShaderType = AMDGPU::getShaderType(*F); in isArgPassedInSGPR() local
141 if (ShaderType == ShaderType::COMPUTE) in isArgPassedInSGPR()
/external/llvm/test/CodeGen/AMDGPU/
Dno-hsa-graphics-shaders.ll16 attributes #0 = { nounwind "ShaderType"="0" }
17 attributes #1 = { nounwind "ShaderType"="1" }
18 attributes #2 = { nounwind "ShaderType"="2" }
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderIntegerFunctionTests.cpp113 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) in getShaderUintBitCount()
139 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dat… in generateRandomInputData()
209 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix()
224 …tIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getIntegerFuncCaseName()
305 …), glu::DataType(scalarType + vecSize - 1), glu::Precision(prec), glu::ShaderType(shaderTypeNdx))); in addFunctionCases()
319 …(tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType);
334 const glu::ShaderType m_shaderType;
343 … (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) in IntegerFunctionCase()
368 …IntegerFunctionTestInstance (Context& context, glu::ShaderType shaderType, ShaderSpec spec, Shade… in IntegerFunctionTestInstance()
383 const glu::ShaderType m_shaderType;
[all …]
DvktShaderCommonFunctionTests.cpp354 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix()
369 …etCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in getCommonFuncCaseName()
434 …), glu::DataType(scalarType + vecSize - 1), glu::Precision(prec), glu::ShaderType(shaderTypeNdx))); in addFunctionCases()
446 …(tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType);
461 const glu::ShaderType m_shaderType;
467 … (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) in CommonFunctionCase()
492 …CommonFunctionTestInstance (Context& context, glu::ShaderType shaderType, ShaderSpec spec, ShaderE… in CommonFunctionTestInstance()
507 const glu::ShaderType m_shaderType;
589 …AbsCaseInstance (Context& context, glu::ShaderType shaderType, ShaderSpec spec, ShaderExecutor& ex… in AbsCaseInstance()
668 …TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) in AbsCase()
[all …]
DvktShaderPackingFunctionTests.cpp80 static const char* getShaderTypePostfix (glu::ShaderType shaderType) in getShaderTypePostfix()
102 …(tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType);
113 const glu::ShaderType m_shaderType;
122 … (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) in ShaderPackingFunctionCase()
146 …ShaderPackingFunctionTestInstance (Context& context, glu::ShaderType shaderType, ShaderSpec spec, … in ShaderPackingFunctionTestInstance()
158 const glu::ShaderType m_shaderType;
169 …PackSnorm2x16CaseInstance (Context& context, glu::ShaderType shaderType, ShaderSpec spec, glu::Pre… in PackSnorm2x16CaseInstance()
269 PackSnorm2x16Case (tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) in PackSnorm2x16Case()
292 …UnpackSnorm2x16CaseInstance (Context& context, glu::ShaderType shaderType, ShaderSpec spec, de::Sh… in UnpackSnorm2x16CaseInstance()
375 UnpackSnorm2x16Case (tcu::TestContext& testCtx, glu::ShaderType shaderType) in UnpackSnorm2x16Case()
[all …]
DvktOpaqueTypeIndexingTests.cpp75 const glu::ShaderType shaderType,
87 const glu::ShaderType m_shaderType;
98 const glu::ShaderType shaderType,
113 const glu::ShaderType m_shaderType;
124 const glu::ShaderType shaderType, in OpaqueTypeIndexingCase()
148 const glu::ShaderType shaderType, in OpaqueTypeIndexingTestInstance()
198 static deUint32 getFirstFreeBindingLocation (const glu::ShaderType shaderType) in getFirstFreeBindingLocation()
423 const glu::ShaderType shaderType,
441 const glu::ShaderType shaderType, in SamplerIndexingCaseInstance()
681 const glu::ShaderType shaderType,
[all …]
/external/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp113 unsigned ShaderType = ShaderType::COMPUTE; in getShaderType() local
117 if (Str.getAsInteger(0, ShaderType)) { in getShaderType()
122 return ShaderType; in getShaderType()
/external/deqp/modules/gles3/stress/
Des3sLongShaderTests.cpp82 const char* getConstShaderSource (const glu::ShaderType shaderType) in getConstShaderSource()
162 glu::ShaderType shaderType;
168 LongShaderSpec (const glu::ShaderType shaderTypeInit, const deUint32 opsTotalInit) in LongShaderSpec()
361 const glu::ShaderType m_shaderType;
389 …const glu::ShaderType otherShader = (m_shaderType == glu::SHADERTYPE_VERTEX) ? glu::SHADERTYPE_FR… in iterate()
456 …const glu::ShaderType shaderType = (shaderTypeInt == 0) ? glu::SHADERTYPE_VERTEX : glu::SHADERTYP… in init()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawTestCaseUtil.hpp58 typedef std::map<glu::ShaderType, const char*> ShaderMap;
65 const std::map<glu::ShaderType, const char*> shaderPaths, const vk::VkPrimitiveTopology topology) in InstanceFactory() argument
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateTestCaseUtil.hpp67 typedef std::map<glu::ShaderType, const char*> ShaderMap;
74 const std::map<glu::ShaderType, const char*> shaderPaths) in InstanceFactory() argument

1234567