/external/llvm/lib/Target/R600/ |
AMDGPUMachineFunction.cpp | 7 static const char *const ShaderTypeAttribute = "ShaderType"; 14 ShaderType = ShaderType::COMPUTE; 22 if (Str.getAsInteger(0, 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...] |
AMDGPUCallingConv.td | 65 "ShaderType == ShaderType::COMPUTE", CCDelegateTo<CC_AMDGPU_Kernel>>, 69 "ShaderType == ShaderType::COMPUTE", CCDelegateTo<CC_AMDGPU_Kernel>>,
|
/external/deqp/framework/opengl/ |
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...] |
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...] |
/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/modules/gles3/functional/ |
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...] |
es3fShaderCommonFunctionTests.cpp | 167 CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 181 glu::ShaderType m_shaderType; 191 CommonFunctionCase::CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) 193 , m_shaderType (shaderType) 403 static const char* getShaderTypePostfix (glu::ShaderType shaderType) 410 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 411 return s_postfix[shaderType]; [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...] |
/cts/tests/tests/opengl/libopengltest/ |
common.cpp | 23 GLuint loadShader(GLenum shaderType, const char* pSource) { 24 GLuint shader = glCreateShader(shaderType);
|
common.h | 24 GLuint loadShader(GLenum shaderType, const char* pSource);
|
/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;
|
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...] |
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...] |
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;
|
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...] |
es31fShaderPackingFunctionTests.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) 144 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 145 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...] |
/developers/build/prebuilts/gradle/MediaEffects/MediaEffectsSample/src/main/java/com/example/android/mediaeffects/ |
GLToolbox.java | 23 public static int loadShader(int shaderType, String source) { 24 int shader = GLES20.glCreateShader(shaderType); 33 throw new RuntimeException("Could not compile shader " + shaderType + ":" + info);
|
/developers/samples/android/media/MediaEffects/MediaEffectsSample/src/main/java/com/example/android/mediaeffects/ |
GLToolbox.java | 23 public static int loadShader(int shaderType, String source) { 24 int shader = GLES20.glCreateShader(shaderType); 33 throw new RuntimeException("Could not compile shader " + shaderType + ":" + info);
|
/development/samples/HelloEffects/src/com/example/android/mediafx/ |
GLToolbox.java | 23 public static int loadShader(int shaderType, String source) { 24 int shader = GLES20.glCreateShader(shaderType); 35 shaderType + ":" + info);
|
/external/llvm/test/CodeGen/R600/ |
call_fs.ll | 17 attributes #0 = { "ShaderType"="1" } ; Vertex Shader
|
complex-folding.ll | 19 attributes #0 = { "ShaderType"="0"
|
floor.ll | 16 attributes #0 = { "ShaderType"="0"
|
fmax.ll | 17 attributes #0 = { "ShaderType"="0"
|