/external/deqp/external/vulkancts/framework/vulkan/ |
H A D | vkShaderProgram.cpp | 33 sources[shaderSource.shaderType].push_back(shaderSource.source); 45 sources[shaderSource.shaderType].push_back(shaderSource.source); 61 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++) 63 for (size_t shaderNdx = 0; shaderNdx < sources[shaderType].size(); shaderNdx++) 65 log << tcu::TestLog::Shader(glu::getLogShaderType((glu::ShaderType)shaderType), 66 sources[shaderType][shaderNdx],
|
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/swiftshader/src/OpenGL/compiler/ |
H A D | Initialize.h | 22 void InsertBuiltInFunctions(GLenum shaderType, const ShBuiltInResources &resources, TSymbolTable &table); 24 void IdentifyBuiltIns(GLenum shaderType,
|
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 | Compiler.cpp | 74 : shaderType(type), 122 shaderType, compileOptions, true, 183 switch(shaderType) 195 InsertBuiltInFunctions(shaderType, resources, symbolTable); 197 IdentifyBuiltIns(shaderType, resources, symbolTable); 242 ValidateLimitations validate(shaderType, infoSink.info);
|
/external/deqp/framework/opengl/ |
H A D | gluShaderProgram.cpp | 40 Shader::Shader (const RenderContext& renderCtx, ShaderType shaderType) argument 44 m_info.type = shaderType; 45 m_shader = m_gl.createShader(getGLShaderType(shaderType)); 50 Shader::Shader (const glw::Functions& gl, ShaderType shaderType) argument 54 m_info.type = shaderType; 55 m_shader = m_gl.createShader(getGLShaderType(shaderType)); 327 for (int shaderType = 0; shaderType < SHADERTYPE_LAST; shaderType++) 329 for (int shaderNdx = 0; shaderNdx < (int)sources.sources[shaderType] 387 getGLShaderType(ShaderType shaderType) argument 403 getGLShaderTypeBit(ShaderType shaderType) argument 419 getLogShaderType(ShaderType shaderType) argument [all...] |
H A D | gluShaderProgram.hpp | 84 Shader (const glw::Functions& gl, ShaderType shaderType); 85 Shader (const RenderContext& renderCtx, ShaderType shaderType); 193 bool hasShader (glu::ShaderType shaderType) const { return !m_shaders[shaderType].empty(); } 194 int getNumShaders (glu::ShaderType shaderType) const { return (int)m_shaders[shaderType].size(); } 195 const ShaderInfo& getShaderInfo (glu::ShaderType shaderType, int shaderNdx = 0) const { return m_shaders[shaderType][shaderNdx]->getInfo(); } argument 209 deUint32 getGLShaderType (ShaderType shaderType); 210 deUint32 getGLShaderTypeBit (ShaderType shaderType); 262 ShaderType shaderType; member in struct:glu::ShaderSource [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderApiTests.cpp | 72 const char* getSimpleShaderSource (const glu::ShaderType shaderType) argument 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; } 188 std::string next (const glu::ShaderType shaderType); 194 std::string ConstantShaderGenerator::next (const glu::ShaderType shaderType) argument 196 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType 224 get(const glu::ShaderType shaderType) argument 245 hasShader(const glu::ShaderType shaderType) argument 253 createShader(const glu::ShaderType shaderType) argument 265 deleteShader(const glu::ShaderType shaderType) argument 273 setSource(const glu::ShaderType shaderType) argument 300 const glu::ShaderType shaderType = (glu::ShaderType)shaderTypeInt; local 328 CreateShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 352 CompileShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 530 ShaderSourceReplaceCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 630 ShaderSourceSplitCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType, const int numSlices, const deUint32 flags = 0) argument 775 ProgramStateCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 863 const glu::ShaderType shaderType = (shaderTypeInt == 1) ? glu::SHADERTYPE_FRAGMENT : glu::SHADERTYPE_VERTEX; local 880 ProgramStateDetachShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 902 ProgramStateReattachShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 925 ProgramStateDeleteShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 948 ProgramStateReplaceShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 972 ProgramStateRecompileShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 995 ProgramStateReplaceSourceCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 1058 const glu::ShaderType shaderType = (shaderTypeInt == 1) ? glu::SHADERTYPE_FRAGMENT : glu::SHADERTYPE_VERTEX; local 1071 const glu::ShaderType shaderType = (shaderTypeInt == 1) ? glu::SHADERTYPE_FRAGMENT : glu::SHADERTYPE_VERTEX; local [all...] |
/external/deqp/modules/gles31/functional/ |
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...] |
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 | es31fShaderCommonFunctionTests.cpp | 240 CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 264 CommonFunctionCase::CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) argument 266 , m_shaderType (shaderType) 477 static const char* getShaderTypePostfix (glu::ShaderType shaderType) argument 488 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 489 return s_postfix[shaderType]; 492 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 494 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); 500 AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 501 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType) 582 SignCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 688 RoundEvenCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 799 ModfCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 865 IsnanCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 948 IsinfCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1032 FloatBitsToUintIntCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType, bool outIsSigned) argument 1092 FloatBitsToIntCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1101 FloatBitsToUintCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1110 BitsToFloatCase(Context& context, glu::DataType baseType, glu::ShaderType shaderType) argument 1160 FloorCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1256 TruncCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1364 RoundCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1492 CeilCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1597 FractCase(Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument [all...] |
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 | es31fNegativeTestShared.cpp | 113 bool NegativeTestContext::isShaderSupported (glu::ShaderType shaderType) argument 118 switch (shaderType)
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderApiTests.cpp | 77 const char* getSimpleShaderSource (const glu::ShaderType shaderType) argument 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; } 233 std::string next (const glu::ShaderType shaderType); 239 std::string ConstantShaderGenerator::next (const glu::ShaderType shaderType) argument 241 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType 277 get(const glu::ShaderType shaderType) argument 298 hasShader(const glu::ShaderType shaderType) argument 306 createShader(const glu::ShaderType shaderType) argument 318 deleteShader(const glu::ShaderType shaderType) argument 326 setSource(const glu::ShaderType shaderType) argument 354 const glu::ShaderType shaderType = (glu::ShaderType)shaderTypeInt; local 382 CreateShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 406 CompileShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 584 ShaderSourceReplaceCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 687 ShaderSourceSplitCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType, const int numSlices, const deUint32 flags = 0) argument 835 ProgramStateCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 923 const glu::ShaderType shaderType = (shaderTypeInt == 1) ? glu::SHADERTYPE_FRAGMENT : glu::SHADERTYPE_VERTEX; local 940 ProgramStateDetachShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 962 ProgramStateReattachShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 985 ProgramStateDeleteShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 1008 ProgramStateReplaceShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 1032 ProgramStateRecompileShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 1055 ProgramStateReplaceSourceCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 1409 ProgramBinaryPersistenceCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 1488 const glu::ShaderType shaderType = (shaderTypeInt == 1) ? glu::SHADERTYPE_FRAGMENT : glu::SHADERTYPE_VERTEX; local 1505 ProgramBinaryPersistenceDetachShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 1527 ProgramBinaryPersistenceReattachShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 1550 ProgramBinaryPersistenceDeleteShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 1573 ProgramBinaryPersistenceReplaceShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 1597 ProgramBinaryPersistenceRecompileShaderCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 1620 ProgramBinaryPersistenceReplaceSourceCase(Context& context, const char* name, const char* desc, glu::ShaderType shaderType) argument 1683 const glu::ShaderType shaderType = (shaderTypeInt == 1) ? glu::SHADERTYPE_FRAGMENT : glu::SHADERTYPE_VERTEX; local 1697 const glu::ShaderType shaderType = (shaderTypeInt == 1) ? glu::SHADERTYPE_FRAGMENT : glu::SHADERTYPE_VERTEX; local [all...] |
H A D | es3fShaderPackingFunctionTests.cpp | 72 ShaderPackingFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType); 88 ShaderPackingFunctionCase::ShaderPackingFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderType) argument 90 , m_shaderType (shaderType) 133 static const char* getShaderTypePostfix (glu::ShaderType shaderType) argument 140 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 141 return s_postfix[shaderType]; 147 PackSnorm2x16Case (Context& context, glu::ShaderType shaderType, glu::Precision precision) argument 148 : ShaderPackingFunctionCase (context, (string("packsnorm2x16") + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType)).c_str(), "packSnorm2x16", shaderType) 251 UnpackSnorm2x16Case (Context& context, glu::ShaderType shaderType) argument 338 PackUnorm2x16Case(Context& context, glu::ShaderType shaderType, glu::Precision precision) argument 442 UnpackUnorm2x16Case(Context& context, glu::ShaderType shaderType) argument 529 PackHalf2x16Case(Context& context, glu::ShaderType shaderType) argument 635 UnpackHalf2x16Case(Context& context, glu::ShaderType shaderType) argument [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderIntegerFunctionTests.cpp | 113 inline int getShaderUintBitCount (glu::ShaderType shaderType, glu::Precision precision) argument 116 DE_UNREF(shaderType); 139 static void generateRandomInputData (de::Random& rnd, glu::ShaderType shaderType, glu::DataType dataType, glu::Precision precision, deUint32* dst, int numValues) argument 142 const deUint32 integerLength = (deUint32)getShaderUintBitCount(shaderType, precision); 209 static const char* getShaderTypePostfix (glu::ShaderType shaderType) argument 220 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 221 return s_postfix[shaderType]; 224 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 226 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); 319 IntegerFunctionCase (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType); 340 IntegerFunctionCase(tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) argument 356 IntegerFunctionTestInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 454 UaddCarryCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 545 UaddCarryCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 564 UsubBorrowCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 653 UsubBorrowCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 672 UmulExtendedCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 757 UmulExtendedCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 776 ImulExtendedCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 862 ImulExtendedCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 881 BitfieldExtractCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 939 BitfieldExtractCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 958 BitfieldInsertCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1020 BitfieldInsertCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1040 BitfieldReverseCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1083 BitfieldReverseCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1100 BitCountCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1144 BitCountCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1164 FindLSBCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1208 FindLSBCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1228 findMSBCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1272 findMSBCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument [all...] |
H A D | vktShaderPackingFunctionTests.cpp | 80 static const char* getShaderTypePostfix (glu::ShaderType shaderType) argument 91 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 92 return s_postfix[shaderType]; 102 ShaderPackingFunctionCase (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType); 119 ShaderPackingFunctionCase::ShaderPackingFunctionCase (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) argument 121 , m_shaderType (shaderType) 134 ShaderPackingFunctionTestInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) argument 137 , m_shaderType (shaderType) 157 PackSnorm2x16CaseInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, glu::Precision precision, const char* name) argument 158 : ShaderPackingFunctionTestInstance (context, shaderType, spe 257 PackSnorm2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) argument 279 UnpackSnorm2x16CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) argument 362 UnpackSnorm2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) argument 380 PackUnorm2x16CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, glu::Precision precision, const char* name) argument 480 PackUnorm2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) argument 502 UnpackUnorm2x16CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) argument 586 UnpackUnorm2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) argument 605 PackHalf2x16CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) argument 707 PackHalf2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) argument 726 UnpackHalf2x16CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) argument 832 UnpackHalf2x16Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) argument 851 PackSnorm4x8CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, glu::Precision precision, const char* name) argument 961 PackSnorm4x8Case(tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) argument 983 UnpackSnorm4x8CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) argument 1075 UnpackSnorm4x8Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) argument 1094 PackUnorm4x8CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, glu::Precision precision, const char* name) argument 1204 PackUnorm4x8Case(tcu::TestContext& testCtx, glu::ShaderType shaderType, glu::Precision precision) argument 1226 UnpackUnorm4x8CaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, const char* name) argument 1317 UnpackUnorm4x8Case(tcu::TestContext& testCtx, glu::ShaderType shaderType) argument [all...] |
H A D | vktShaderExecutor.hpp | 94 void generateSources (glu::ShaderType shaderType, const ShaderSpec& shaderSpec, vk::SourceCollections& dst); 95 ShaderExecutor* createExecutor (Context& context, glu::ShaderType shaderType, const ShaderSpec& shaderSpec, vk::VkDescriptorSetLayout extraResourcesLayout = (vk::VkDescriptorSetLayout)0);
|
H A D | vktShaderCommonFunctionTests.cpp | 354 static const char* getShaderTypePostfix (glu::ShaderType shaderType) argument 365 DE_ASSERT(de::inBounds<int>(shaderType, 0, DE_LENGTH_OF_ARRAY(s_postfix))); 366 return s_postfix[shaderType]; 369 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 371 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); 446 CommonFunctionCase (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType); 464 CommonFunctionCase::CommonFunctionCase (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) argument 466 , m_shaderType (shaderType) 480 CommonFunctionTestInstance (Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 482 , m_shaderType (shaderType) 578 AbsCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 657 AbsCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 674 SignCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 766 SignCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 794 RoundEvenCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 902 RoundEvenCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 919 ModfCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 981 ModfCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 999 IsnanCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1074 IsnanCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1096 IsinfCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1172 IsinfCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1194 FloatBitsToUintIntCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1247 FloatBitsToUintIntCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType, bool outIsSigned) argument 1268 FloatBitsToIntCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1277 FloatBitsToIntCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1287 FloatBitsToUintCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1296 FloatBitsToUintCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1305 BitsToFloatCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1348 BitsToFloatCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::ShaderType shaderType) argument 1369 FloorCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1462 FloorCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1479 TruncCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1584 TruncCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1601 RoundCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1726 RoundCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1743 CeilCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1845 CeilCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1862 FractCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 1971 FractCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 1988 FrexpCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 2073 FrexpCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 2094 LdexpCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 2223 LdexpCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument 2244 FmaCaseInstance(Context& context, glu::ShaderType shaderType, const ShaderSpec& spec, int numValues, const char* name) argument 2374 FmaCase(tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) argument [all...] |
/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/deqp/modules/gles3/scripts/ |
H A D | gen-uniform-blocks.py | 75 def __init__(self, name, shaderType, source, valid): 77 self.shaderType = shaderType 82 if self.shaderType == FRAGMENT: 97 elif self.shaderType == VERTEX:
|
/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/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/webrtc/webrtc/modules/video_render/android/ |
H A D | video_render_opengles20.h | 35 GLuint loadShader(GLenum shaderType, const char* pSource);
|