Searched defs:shaderType (Results 1 - 25 of 102) sorted by relevance

12345

/external/swiftshader/src/OpenGL/compiler/
H A DTranslatorASM.cpp19 TranslatorASM::TranslatorASM(glsl::Shader *shaderObject, GLenum shaderType) : TCompiler(shaderType), shaderObject(shaderObject) argument
H A DCompiler.h100 TCompiler(GLenum shaderType);
114 GLenum getShaderType() const { return shaderType; }
130 GLenum shaderType; member in class:TCompiler
H A DInitialize.cpp465 void IdentifyBuiltIns(GLenum shaderType, argument
473 switch(shaderType)
493 switch(shaderType)
H A DValidateLimitations.cpp111 ValidateLimitations::ValidateLimitations(GLenum shaderType, argument
113 : mShaderType(shaderType),
/external/deqp/modules/gles3/stress/
H A Des3sLongShaderTests.cpp82 const char* getConstShaderSource (const glu::ShaderType shaderType) argument
84 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType == glu::SHADERTYPE_FRAGMENT);
86 if (shaderType == glu::SHADERTYPE_VERTEX)
162 glu::ShaderType shaderType;
169 : shaderType (shaderTypeInit)
214 DE_ASSERT(m_spec.shaderType == glu::SHADERTYPE_VERTEX || m_spec.shaderType == glu::SHADERTYPE_FRAGMENT);
222 return glu::ShaderSource(m_spec.shaderType, m_source);
233 if (m_spec.shaderType
[all...]
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
H A DGlShader.java40 private static int compileShader(int shaderType, String source) { argument
44 int shader = GLES20.glCreateShader(shaderType);
49 Logging.e(TAG, "Could not compile shader " + shaderType + ":" +
/external/autotest/client/site_tests/graphics_SanAngeles/src/
H A Dshader.c39 static GLuint createShader(const char *src, GLenum shaderType) argument
42 GLuint shader = glCreateShader(shaderType);
/external/deqp/external/vulkancts/framework/vulkan/
H A DvkPrograms.cpp257 VkShaderStageFlagBits getVkShaderStage (glu::ShaderType shaderType) argument
269 return de::getSizedArrayElement<glu::SHADERTYPE_LAST>(s_shaderStages, shaderType);
H A DvkShaderToSpirV.cpp198 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; ++shaderType)
200 if (!sources[shaderType].empty())
207 std::string getShaderStageSource (const std::vector<std::string>* sources, const ShaderBuildOptions buildOptions, glu::ShaderType shaderType) argument
209 if (sources[shaderType].size() != 1)
215 std::string src = sources[shaderType][0];
226 return sources[shaderType][0];
259 for (int shaderType = 0; shaderType < gl
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fNegativePreciseTests.cpp63 std::string generateShaderSource (NegativeTestContext& ctx, glu::ShaderType shaderType, TestPrecise test) argument
83 switch (shaderType)
143 void generateAndVerifyShader (NegativeTestContext& ctx, glu::ShaderType shaderType, TestPrecise test) argument
145 glu::Shader shader (ctx.getRenderContext(), shaderType);
146 std::string shaderSource = generateShaderSource(ctx, shaderType, test);
H A Des31fNegativeSampleVariablesTests.cpp45 void verifyShader (NegativeTestContext& ctx, glu::ShaderType shaderType, std::string shaderSource, ExpectResult expect) argument
53 glu::Shader shader (ctx.getRenderContext(), shaderType);
H A Des31fNegativeShaderFramebufferFetchTests.cpp77 void verifyProgramError (NegativeTestContext& ctx, const glu::ShaderProgram& program, ProgramError error, glu::ShaderType shaderType) argument
95 testFailed = program.getShaderInfo(shaderType).compileOk;
101 testFailed = (program.getProgramInfo().linkOk) && (program.getShaderInfo(shaderType).compileOk);
H A Des31fNegativeShaderStorageTests.cpp111 std::string genBlockSource (NegativeTestContext& ctx, deInt64 numSSBlocks, glw::GLenum shaderType) argument
118 << ((isES32) ? "" : getShaderExtensionDeclaration(shaderType));
120 switch (shaderType)
157 std::string genCommonSource (NegativeTestContext& ctx, glw::GLenum shaderType) argument
164 << ((isES32) ? "" : getShaderExtensionDeclaration(shaderType));
166 switch (shaderType)
H A Des31fNegativeTestShared.cpp113 bool NegativeTestContext::isShaderSupported (glu::ShaderType shaderType) argument
118 switch (shaderType)
H A Des31fNegativeShaderDirectiveTests.cpp76 void verifyShader(NegativeTestContext& ctx, glu::ShaderType shaderType, std::string shaderSource, ExpectResult expect) argument
84 glu::Shader shader (ctx.getRenderContext(), shaderType);
H A Des31fShaderBuiltinConstantTests.cpp136 bool verifyInShaderType (glu::ShaderType shaderType, DataType reference);
187 glu::ShaderType shaderType,
205 return createExecutor(renderCtx, shaderType, shaderSpec);
221 bool ShaderBuiltinConstantCase<DataType>::verifyInShaderType (glu::ShaderType shaderType, DataType reference) argument
225 const de::UniquePtr<ShaderExecutor> shaderExecutor (createGetConstantExecutor(m_context.getRenderContext(), shaderType, glu::dataTypeOf<DataType>(), m_varName, m_requiredExt));
259 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++)
261 if ((SHADER_TYPES & (1<<shaderType)) != 0)
263 const char* const shaderTypeName = glu::getShaderTypeName(glu::ShaderType(shaderType));
186 createGetConstantExecutor(const glu::RenderContext& renderCtx, glu::ShaderType shaderType, glu::DataType dataType, const std::string& varName, const std::string& extName) argument
[all...]
H A Des31fShaderStateQueryTests.cpp365 ShaderLogCase (Context& ctx, const char* name, const char* desc, glu::ShaderType shaderType);
374 ShaderLogCase::ShaderLogCase (Context& ctx, const char* name, const char* desc, glu::ShaderType shaderType) argument
376 , m_shaderType (shaderType)
H A Des31fShaderUniformIntegerFunctionTests.cpp45 UniformIntegerFunctionCase (Context& context, const char* description, int inputValue, glu::Precision precision, glu::ShaderType shaderType);
66 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType);
68 UniformIntegerFunctionCase::UniformIntegerFunctionCase(Context& context, const char* description, int inputValue, glu::Precision precision, glu::ShaderType shaderType) argument
69 : TestCase(context, getCaseName(precision, shaderType).c_str(), description)
70 , m_shaderType(shaderType)
159 static const char* getShaderTypePostfix (glu::ShaderType shaderType) argument
170 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix)));
171 return s_postfix[shaderType];
174 static std::string getCaseName (glu::Precision precision, glu::ShaderType shaderType) argument
176 return string(getPrecisionPostfix(precision)) + getShaderTypePostfix(shaderType);
191 FindMSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shaderType) argument
218 FindLSBEdgeCase(Context& context, int inputValue, glu::Precision precision, glu::ShaderType shaderType) argument
[all...]
/external/swiftshader/src/Shader/
H A DPixelShader.cpp73 ShaderType shaderType = (ShaderType)((token[0] & 0xFFFF0000) >> 16); local
75 if(shaderType != SHADER_PIXEL || majorVersion > 3)
H A DVertexShader.cpp93 ShaderType shaderType = (ShaderType)((token[0] & 0xFFFF0000) >> 16); local
95 if(shaderType != SHADER_VERTEX || majorVersion > 3)
/external/deqp/executor/tools/
H A DxeExtractShaderPrograms.cpp53 static const char* getShaderTypeSuffix (const xe::ri::Shader::ShaderType shaderType) argument
55 switch (shaderType)
75 const string shaderPath = basePath + "." + getShaderTypeSuffix(shader.shaderType);
/external/deqp/external/openglcts/modules/common/
H A DglcShaderConstExprTests.cpp76 ExecutorTestCase(deqp::Context& context, const char* name, glu::ShaderType shaderType, const ShaderSpec& shaderSpec,
90 ExecutorTestCase<OutputType>::ExecutorTestCase(deqp::Context& context, const char* name, glu::ShaderType shaderType, argument
93 , m_shaderType(shaderType)
237 glu::ShaderType shaderType = shaderTypes[typeIndex]; local
238 std::string caseName(params.caseName + '_' + getShaderTypeName(shaderType));
241 new ExecutorTestCase<OutputType>(context, caseName.c_str(), shaderType, shaderSpec, params.outputFloat));
/external/deqp/external/openglcts/modules/gl/
H A Dgl4cShaderBallotTests.cpp166 for (unsigned int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; ++shaderType)
168 m_shaderChunks[shaderType] = new char*[m_shaders[shaderType].size()];
171 m_shaderChunks[shaderType][i] = (char*)m_shaders[shaderType][i].data();
188 for (unsigned int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; ++shaderType)
332 glu::ShaderType shaderType = (glu::ShaderType)i; local
[all...]
/external/deqp/framework/opengl/
H A DgluShaderUtil.cpp145 const char* getShaderTypeName (ShaderType shaderType) argument
158 DE_ASSERT(deInBounds32((int)shaderType, 0, SHADERTYPE_LAST));
159 return s_names[(int)shaderType];
/external/swiftshader/src/OpenGL/libGL/
H A DShader.cpp156 TranslatorASM *Shader::createCompiler(GLenum shaderType) argument
164 TranslatorASM *assembler = new TranslatorASM(this, shaderType);

Completed in 2750 milliseconds

12345