/external/llvm/lib/Target/R600/ |
AMDGPUMachineFunction.cpp | 7 static const char *const ShaderTypeAttribute = "ShaderType"; 14 ShaderType(ShaderType::COMPUTE), 22 if (Str.getAsInteger(0, ShaderType))
|
AMDGPUMachineFunction.h | 23 unsigned ShaderType; 37 return ShaderType;
|
SITypeRewriter.cpp | 64 Attribute A = F.getFnAttribute("ShaderType"); 66 unsigned ShaderType = ShaderType::COMPUTE; 69 Str.getAsInteger(0, ShaderType); 71 if (ShaderType == ShaderType::COMPUTE)
|
AMDGPUAsmPrinter.cpp | 208 case ShaderType::COMPUTE: RsrcReg = R_0288D4_SQ_PGM_RESOURCES_LS; break; 209 case ShaderType::GEOMETRY: RsrcReg = R_028878_SQ_PGM_RESOURCES_GS; break; 210 case ShaderType::PIXEL: RsrcReg = R_028844_SQ_PGM_RESOURCES_PS; break; 211 case ShaderType::VERTEX: RsrcReg = R_028860_SQ_PGM_RESOURCES_VS; break; 217 case ShaderType::GEOMETRY: // Fall through 218 case ShaderType::COMPUTE: // Fall through 219 case ShaderType::VERTEX: RsrcReg = R_028868_SQ_PGM_RESOURCES_VS; break; 220 case ShaderType::PIXEL: RsrcReg = R_028850_SQ_PGM_RESOURCES_PS; break; 230 if (MFI->getShaderType() == ShaderType::COMPUTE) { 412 static unsigned getRsrcReg(unsigned ShaderType) { [all...] |
SIMachineFunctionInfo.cpp | 76 return getShaderType() == ShaderType::COMPUTE ? 256 : ST.getWavefrontSize();
|
AMDGPU.h | 88 namespace ShaderType {
|
AMDGPUSubtarget.cpp | 114 return MFI->getShaderType() == ShaderType::COMPUTE || EnableVGPRSpilling;
|
/external/deqp/modules/gles31/functional/ |
es31fProgramInterfaceDefinition.hpp | 66 glu::ShaderType getType (void) const { return m_shaderType; } 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;
|
es31fBuiltinPrecisionTests.cpp | 43 std::vector<glu::ShaderType> shaderTypes;
|
es31fProgramInterfaceDefinitionUtil.hpp | 89 static VariableSearchFilter createShaderTypeFilter (glu::ShaderType); 91 static VariableSearchFilter createShaderTypeStorageFilter (glu::ShaderType, glu::Storage); 174 glu::ShaderType getProgramTransformFeedbackStage (const ProgramInterfaceDefinition::Program* program);
|
es31fProgramInterfaceDefinition.cpp | 45 static const glu::ShaderType s_shaderStageOrder[] = 90 static int getShaderStageIndex (glu::ShaderType stage) 92 const glu::ShaderType* const it = std::find(DE_ARRAY_BEGIN(s_shaderStageOrder), DE_ARRAY_END(s_shaderStageOrder), stage); 105 Shader::Shader (glu::ShaderType type, glu::GLSLVersion version) 455 Shader* Program::addShader (glu::ShaderType type, glu::GLSLVersion version) 485 glu::ShaderType Program::getFirstStage (void) const 503 glu::ShaderType Program::getLastStage (void) const 521 bool Program::hasStage (glu::ShaderType stage) const
|
es31fShaderBuiltinConstantTests.cpp | 136 bool verifyInShaderType (glu::ShaderType shaderType, DataType reference); 166 glu::ShaderType shaderType, 183 return createExecutor(renderCtx, shaderType, shaderSpec); 199 bool ShaderBuiltinConstantCase<DataType>::verifyInShaderType (glu::ShaderType shaderType, DataType reference) 203 const de::UniquePtr<ShaderExecutor> shaderExecutor (createGetConstantExecutor(m_context.getRenderContext(), shaderType, glu::dataTypeOf<DataType>(), m_varName, m_requiredExt)); 237 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++ [all...] |
es31fLayoutBindingTests.cpp | 70 enum ShaderType 85 std::string generateVertexShader (ShaderType shaderType, const std::string& shaderUniformDeclarations, const std::string& shaderBody) 94 switch (shaderType) 125 std::string generateFragmentShader (ShaderType shaderType, const std::string& shaderUniformDeclarations, const std::string& shaderBody) 135 switch (shaderType) 212 ShaderType shaderType, 232 const ShaderType m_shaderType [all...] |
es31fShaderCommonFunctionTests.cpp | 240 CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 254 glu::ShaderType m_shaderType; 264 CommonFunctionCase::CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) 266 , m_shaderType (shaderType) 476 static const char* getShaderTypePostfix (glu::ShaderType shaderType) 487 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 488 return s_postfix[shaderType]; [all...] |
es31fShaderIntegerFunctionTests.cpp | 111 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) 114 DE_UNREF(shaderType); 137 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValues) 140 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision); 165 IntegerFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 179 glu::ShaderType m_shaderType; 189 IntegerFunctionCase::IntegerFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType [all...] |
/external/deqp/modules/glshared/ |
glsBuiltinPrecisionTests.hpp | 57 const std::vector<glu::ShaderType>& shaderTypes,
|
glsShaderExecUtil.hpp | 102 ShaderExecutor* createExecutor (const glu::RenderContext& renderCtx, glu::ShaderType shaderType, const ShaderSpec& shaderSpec);
|
/external/deqp/modules/gles2/functional/ |
es2fShaderApiTests.cpp | 72 const char* getSimpleShaderSource (const glu::ShaderType shaderType) 77 switch (shaderType) 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; [all...] |
/external/deqp/framework/opengl/ |
gluShaderProgram.hpp | 48 ShaderType type; //!< Shader type. 75 Shader (const glw::Functions& gl, ShaderType shaderType); 76 Shader (const RenderContext& renderCtx, ShaderType shaderType); 85 glu::ShaderType getType (void) const { return getInfo().type; } 184 bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].empty(); } 185 int getNumShaders (glu::ShaderType shaderType) const { return (int)m_shaders[shaderType].size(); [all...] |
gluShaderProgram.cpp | 40 Shader::Shader (const RenderContext& renderCtx, ShaderType shaderType) 44 m_info.type = shaderType; 45 m_shader = m_gl.createShader(getGLShaderType(shaderType)); 50 Shader::Shader (const glw::Functions& gl, ShaderType shaderType) 54 m_info.type = shaderType; 55 m_shader = m_gl.createShader(getGLShaderType(shaderType)); 327 for (int shaderType = 0; shaderType < SHADERTYPE_LAST; shaderType++ [all...] |
/external/deqp/modules/gles3/functional/ |
es3fBuiltinPrecisionTests.cpp | 43 std::vector<glu::ShaderType> shaderTypes;
|
es3fShaderApiTests.cpp | 77 const char* getSimpleShaderSource (const glu::ShaderType shaderType) 94 switch (shaderType) 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; [all...] |
es3fShaderPackingFunctionTests.cpp | 72 ShaderPackingFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 79 glu::ShaderType m_shaderType; 88 ShaderPackingFunctionCase::ShaderPackingFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) 90 , m_shaderType (shaderType) 133 static const char* getShaderTypePostfix (glu::ShaderType shaderType) 140 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 141 return s_postfix[shaderType]; [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/shader/ |
Shader.java | 76 public static enum ShaderType {
99 ShaderType shaderType;
106 public ShaderSource(ShaderType type){
108 this.shaderType = type;
115 this.shaderType = ss.shaderType;
127 oc.write(shaderType, "shaderType", null);
135 shaderType = ic.readEnum("shaderType", ShaderType.class, null); [all...] |
/external/deqp/modules/gles3/stress/ |
es3sLongShaderTests.cpp | 82 const char* getConstShaderSource (const glu::ShaderType shaderType) 84 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType == glu::SHADERTYPE_FRAGMENT); 86 if (shaderType == glu::SHADERTYPE_VERTEX) 162 glu::ShaderType shaderType; 168 LongShaderSpec (const glu::ShaderType shaderTypeInit, const deUint32 opsTotalInit) 169 : shaderType (shaderTypeInit) 214 DE_ASSERT(m_spec.shaderType == glu::SHADERTYPE_VERTEX || m_spec.shaderType == glu::SHADERTYPE_FRAGMENT) [all...] |