/external/swiftshader/src/OpenGL/compiler/ |
H A D | TranslatorASM.cpp | 19 TranslatorASM::TranslatorASM(glsl::Shader *shaderObject, GLenum shaderType) : TCompiler(shaderType), shaderObject(shaderObject) argument
|
H A D | Compiler.h | 100 TCompiler(GLenum shaderType); 114 GLenum getShaderType() const { return shaderType; } 130 GLenum shaderType; member in class:TCompiler
|
H A D | Initialize.cpp | 465 void IdentifyBuiltIns(GLenum shaderType, argument 473 switch(shaderType) 493 switch(shaderType)
|
H A D | ValidateLimitations.cpp | 111 ValidateLimitations::ValidateLimitations(GLenum shaderType, argument 113 : mShaderType(shaderType),
|
/external/deqp/modules/gles3/stress/ |
H A D | es3sLongShaderTests.cpp | 82 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 D | GlShader.java | 40 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 D | shader.c | 39 static GLuint createShader(const char *src, GLenum shaderType) argument 42 GLuint shader = glCreateShader(shaderType);
|
/external/deqp/external/vulkancts/framework/vulkan/ |
H A D | vkPrograms.cpp | 257 VkShaderStageFlagBits getVkShaderStage (glu::ShaderType shaderType) argument 269 return de::getSizedArrayElement<glu::SHADERTYPE_LAST>(s_shaderStages, shaderType);
|
H A D | vkShaderToSpirV.cpp | 198 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 D | es31fNegativePreciseTests.cpp | 63 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 D | es31fNegativeSampleVariablesTests.cpp | 45 void verifyShader (NegativeTestContext& ctx, glu::ShaderType shaderType, std::string shaderSource, ExpectResult expect) argument 53 glu::Shader shader (ctx.getRenderContext(), shaderType);
|
H A D | es31fNegativeShaderFramebufferFetchTests.cpp | 77 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 D | es31fNegativeShaderStorageTests.cpp | 111 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 D | es31fNegativeTestShared.cpp | 113 bool NegativeTestContext::isShaderSupported (glu::ShaderType shaderType) argument 118 switch (shaderType)
|
H A D | es31fNegativeShaderDirectiveTests.cpp | 76 void verifyShader(NegativeTestContext& ctx, glu::ShaderType shaderType, std::string shaderSource, ExpectResult expect) argument 84 glu::Shader shader (ctx.getRenderContext(), shaderType);
|
H A D | es31fShaderBuiltinConstantTests.cpp | 136 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 D | es31fShaderStateQueryTests.cpp | 365 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 D | es31fShaderUniformIntegerFunctionTests.cpp | 45 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 D | PixelShader.cpp | 73 ShaderType shaderType = (ShaderType)((token[0] & 0xFFFF0000) >> 16); local 75 if(shaderType != SHADER_PIXEL || majorVersion > 3)
|
H A D | VertexShader.cpp | 93 ShaderType shaderType = (ShaderType)((token[0] & 0xFFFF0000) >> 16); local 95 if(shaderType != SHADER_VERTEX || majorVersion > 3)
|
/external/deqp/executor/tools/ |
H A D | xeExtractShaderPrograms.cpp | 53 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 D | glcShaderConstExprTests.cpp | 76 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 D | gl4cShaderBallotTests.cpp | 166 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 D | gluShaderUtil.cpp | 145 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 D | Shader.cpp | 156 TranslatorASM *Shader::createCompiler(GLenum shaderType) argument 164 TranslatorASM *assembler = new TranslatorASM(this, shaderType);
|