HomeSort by relevance Sort by last modified time
    Searched refs:ShaderType (Results 1 - 25 of 62) sorted by null

1 2 3

  /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 25 unsigned ShaderType;
AMDGPUAsmPrinter.cpp 182 switch (MFI->ShaderType) {
184 case ShaderType::COMPUTE: RsrcReg = R_0288D4_SQ_PGM_RESOURCES_LS; break;
185 case ShaderType::GEOMETRY: RsrcReg = R_028878_SQ_PGM_RESOURCES_GS; break;
186 case ShaderType::PIXEL: RsrcReg = R_028844_SQ_PGM_RESOURCES_PS; break;
187 case ShaderType::VERTEX: RsrcReg = R_028860_SQ_PGM_RESOURCES_VS; break;
191 switch (MFI->ShaderType) {
193 case ShaderType::GEOMETRY: // Fall through
194 case ShaderType::COMPUTE: // Fall through
195 case ShaderType::VERTEX: RsrcReg = R_028868_SQ_PGM_RESOURCES_VS; break;
196 case ShaderType::PIXEL: RsrcReg = R_028850_SQ_PGM_RESOURCES_PS; break
    [all...]
SITypeRewriter.cpp 65 Attribute A = Set.getAttribute(AttributeSet::FunctionIndex, "ShaderType");
67 unsigned ShaderType = ShaderType::COMPUTE;
70 Str.getAsInteger(0, ShaderType);
72 if (ShaderType == ShaderType::COMPUTE)
AMDGPU.h 68 namespace ShaderType {
SILowerControlFlow.cpp 150 if (MBB.getParent()->getInfo<SIMachineFunctionInfo>()->ShaderType !=
151 ShaderType::PIXEL ||
302 assert(MBB.getParent()->getInfo<SIMachineFunctionInfo>()->ShaderType ==
303 ShaderType::PIXEL ||
304 MBB.getParent()->getInfo<SIMachineFunctionInfo>()->ShaderType ==
305 ShaderType::GEOMETRY);
543 if (NeedWQM && MFI->ShaderType == ShaderType::PIXEL) {
  /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;
es31fBuiltinPrecisionTests.cpp 43 std::vector<glu::ShaderType> shaderTypes;
es31fProgramInterfaceDefinitionUtil.hpp 85 VariableSearchFilter (glu::ShaderType shaderType, glu::Storage storage) : m_shaderType(shaderType), m_storage(storage), m_null(false) { }
93 glu::ShaderType getShaderTypeFilter (void) const { return m_shaderType; }
97 VariableSearchFilter (glu::ShaderType shaderType, glu::Storage storage, bool empty) : m_shaderType(shaderType), m_storage(storage), m_null(empty) { }
99 const glu::ShaderType m_shaderType;
es31fProgramInterfaceDefinition.cpp 43 static const glu::ShaderType s_shaderStageOrder[] =
88 static int getShaderStageIndex (glu::ShaderType stage)
90 const glu::ShaderType* const it = std::find(DE_ARRAY_BEGIN(s_shaderStageOrder), DE_ARRAY_END(s_shaderStageOrder), stage);
103 Shader::Shader (glu::ShaderType type, glu::GLSLVersion version)
339 Shader* Program::addShader (glu::ShaderType type, glu::GLSLVersion version)
367 glu::ShaderType Program::getFirstStage (void) const
385 glu::ShaderType Program::getLastStage (void) 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 194 CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType);
208 glu::ShaderType m_shaderType;
218 CommonFunctionCase::CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType)
220 , m_shaderType (shaderType)
430 static const char* getShaderTypePostfix (glu::ShaderType shaderType)
441 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix)));
442 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/framework/opengl/
gluShaderProgram.hpp 48 ShaderType type; //!< Shader type.
75 Shader (const RenderContext& renderCtx, ShaderType shaderType);
84 glu::ShaderType getType (void) const { return getInfo().type; }
180 bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].empty(); }
181 int getNumShaders (glu::ShaderType shaderType) const { return (int)m_shaders[shaderType].size();
    [all...]
gluShaderProgram.cpp 40 Shader::Shader (const RenderContext& renderCtx, ShaderType shaderType)
46 m_info.type = shaderType;
47 m_shader = gl.createShader(getGLShaderType(shaderType));
290 for (int shaderType = 0; shaderType < SHADERTYPE_LAST; shaderType++)
292 for (int shaderNdx = 0; shaderNdx < (int)sources.sources[shaderType].size(); ++shaderNdx)
294 const char* source = sources.sources[shaderType][shaderNdx].c_str();
295 const int length = (int)sources.sources[shaderType][shaderNdx].size()
    [all...]
  /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/chromium_org/content/common/gpu/client/
gl_helper_scaling.h 27 enum ShaderType {
52 typedef std::pair<ShaderType, bool> ShaderProgramKeyType;
81 ShaderType shader);
146 ScalerStage(ShaderType shader_,
153 ShaderType shader;
187 scoped_refptr<ShaderProgram> GetShaderProgram(ShaderType type, bool swizzle);
  /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/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...]
  /external/chromium_org/third_party/angle/src/libGLESv2/renderer/
Renderer.h 89 enum ShaderType
203 virtual ShaderExecutable *loadExecutable(const void *function, size_t length, rx::ShaderType type,
206 virtual ShaderExecutable *compileToExecutable(gl::InfoLog &infoLog, const char *shaderHLSL, rx::ShaderType type,

Completed in 409 milliseconds

1 2 3