/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderExecutor.hpp | 81 ShaderExecutor (Context& context, const ShaderSpec& shaderSpec) argument 83 , m_shaderSpec (shaderSpec) 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 | vktAtomicOperationTests.cpp | 168 const ShaderSpec& shaderSpec, 222 const ShaderSpec& shaderSpec, 227 , m_shaderSpec (shaderSpec) 221 AtomicOperationCaseInstance(Context& context, const ShaderSpec& shaderSpec, glu::ShaderType shaderType, bool sign, AtomicOperation atomicOp) argument
|
H A D | vktOpaqueTypeIndexingTests.cpp | 214 const ShaderSpec& shaderSpec, 234 const ShaderSpec& shaderSpec, 240 , m_shaderSpec (shaderSpec) 702 const ShaderSpec& shaderSpec, 718 const ShaderSpec& shaderSpec, 723 : OpaqueTypeIndexingTestInstance (context, shaderType, shaderSpec, name, indexExprType) 1212 const ShaderSpec& shaderSpec, 1232 const ShaderSpec& shaderSpec, 1239 : OpaqueTypeIndexingTestInstance (context, shaderType, shaderSpec, name, indexExprType) 1583 const ShaderSpec& shaderSpec, 232 OpaqueTypeIndexingTestInstance(Context& context, const glu::ShaderType shaderType, const ShaderSpec& shaderSpec, const char* name, const IndexExprType indexExprType) argument 716 SamplerIndexingCaseInstance(Context& context, const glu::ShaderType shaderType, const ShaderSpec& shaderSpec, const char* name, glu::DataType samplerType, const IndexExprType indexExprType, const std::vector<int>& lookupIndices) argument 1230 BlockArrayIndexingCaseInstance(Context& context, const glu::ShaderType shaderType, const ShaderSpec& shaderSpec, const char* name, BlockType blockType, const deUint32 flags, const IndexExprType indexExprType, const std::vector<int>& readIndices, const std::vector<deUint32>& inValues) argument 1595 AtomicCounterIndexingCaseInstance(Context& context, const glu::ShaderType shaderType, const ShaderSpec& shaderSpec, const char* name, const std::vector<int>& opIndices, const IndexExprType indexExprType) argument [all...] |
H A D | vktShaderExecutor.cpp | 122 static std::string generateVertexShader (const ShaderSpec& shaderSpec, const std::string& inputPrefix, const std::string& outputPrefix) argument 128 src << glu::getGLSLVersionDeclaration(shaderSpec.glslVersion) << "\n"; 130 if (!shaderSpec.globalDeclarations.empty()) 131 src << shaderSpec.globalDeclarations << "\n"; 136 for (vector<Symbol>::const_iterator input = shaderSpec.inputs.begin(); input != shaderSpec.inputs.end(); ++input, ++locationNumber) 140 for (vector<Symbol>::const_iterator output = shaderSpec.outputs.begin(); output != shaderSpec.outputs.end(); ++output, ++locationNumber) 163 for (vector<Symbol>::const_iterator input = shaderSpec.inputs.begin(); input != shaderSpec 204 generateFragShaderOutputDecl(std::ostream& src, const ShaderSpec& shaderSpec, bool useIntOutputs, const std::map<std::string, int>& outLocationMap, const std::string& outputPrefix) argument 253 generateFragShaderOutAssign(std::ostream& src, const ShaderSpec& shaderSpec, bool useIntOutputs, const std::string& valuePrefix, const std::string& outputPrefix) argument 281 generatePassthroughFragmentShader(const ShaderSpec& shaderSpec, bool useIntOutputs, const std::map<std::string, int>& outLocationMap, const std::string& inputPrefix, const std::string& outputPrefix) argument 316 generateGeometryShader(const ShaderSpec& shaderSpec, const std::string& inputPrefix, const std::string& outputPrefix) argument 399 generateFragmentShader(const ShaderSpec& shaderSpec, bool useIntOutputs, const std::map<std::string, int>& outLocationMap, const std::string& inputPrefix, const std::string& outputPrefix) argument 495 FragmentOutExecutor(Context& context, glu::ShaderType shaderType, const ShaderSpec& shaderSpec, VkDescriptorSetLayout extraResourcesLayout) argument 1415 VertexShaderExecutor(Context& context, const ShaderSpec& shaderSpec, VkDescriptorSetLayout extraResourcesLayout) argument 1424 generateSources(const ShaderSpec& shaderSpec, SourceCollections& programCollection) argument 1445 GeometryShaderExecutor(Context& context, const ShaderSpec& shaderSpec, VkDescriptorSetLayout extraResourcesLayout) argument 1458 generateSources(const ShaderSpec& shaderSpec, SourceCollections& programCollection) argument 1483 FragmentShaderExecutor(Context& context, const ShaderSpec& shaderSpec, VkDescriptorSetLayout extraResourcesLayout) argument 1492 generateSources(const ShaderSpec& shaderSpec, SourceCollections& programCollection) argument 1569 BufferIoExecutor(Context& context, const ShaderSpec& shaderSpec) argument 1865 ComputeShaderExecutor(Context& context, const ShaderSpec& shaderSpec, VkDescriptorSetLayout extraResourcesLayout) argument 1900 generateSources(const ShaderSpec& shaderSpec, SourceCollections& programCollection) argument 2125 TessellationExecutor(Context& context, const ShaderSpec& shaderSpec, VkDescriptorSetLayout extraResourcesLayout) argument 2662 TessControlExecutor(Context& context, const ShaderSpec& shaderSpec, VkDescriptorSetLayout extraResourcesLayout) argument 2671 generateTessControlShader(const ShaderSpec& shaderSpec) argument 2720 generateSources(const ShaderSpec& shaderSpec, SourceCollections& programCollection) argument 2759 TessEvaluationExecutor(Context& context, const ShaderSpec& shaderSpec, VkDescriptorSetLayout extraResourcesLayout) argument 2790 generateTessEvalShader(const ShaderSpec& shaderSpec) argument 2819 generateSources(const ShaderSpec& shaderSpec, SourceCollections& programCollection) argument 2854 generateSources(glu::ShaderType shaderType, const ShaderSpec& shaderSpec, vk::SourceCollections& dst) argument 2869 createExecutor(Context& context, glu::ShaderType shaderType, const ShaderSpec& shaderSpec, VkDescriptorSetLayout extraResourcesLayout) argument [all...] |
H A D | vktShaderBuiltinPrecisionTests.cpp | 4395 const ShaderSpec& shaderSpec, 4404 , m_executor (createExecutor(context, caseCtx.shaderType, shaderSpec)) 4393 BuiltinPrecisionCaseTestInstance(Context& context, const CaseContext caseCtx, const ShaderSpec& shaderSpec, const Variables<In, Out> variables, const Samplings<In>& samplings, const StatementP stmt) argument
|
/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, 91 const ShaderSpec& shaderSpec, OutputType expectedOutput) 94 , m_shaderSpec(shaderSpec) 185 ShaderSpec shaderSpec; local 186 shaderSpec.version = glu::getContextTypeGLSLVersion(contextType); 187 shaderSpec.source = params.source; 188 shaderSpec.outputs.push_back(Symbol("out0", glu::VarType(params.outType, glu::PRECISION_HIGHP))); 204 shaderSpec.version = glu::GLSL_VERSION_320_ES; 211 shaderSpec.version = glu::GLSL_VERSION_310_ES; 233 shaderSpec 90 ExecutorTestCase(deqp::Context& context, const char* name, glu::ShaderType shaderType, const ShaderSpec& shaderSpec, OutputType expectedOutput) argument [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderBuiltinConstantTests.cpp | 195 ShaderSpec shaderSpec; local 197 shaderSpec.version = supportsES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; 198 shaderSpec.source = string("result = ") + varName + ";\n"; 200 shaderSpec.outputs.push_back(Symbol("result", glu::VarType(dataType, glu::PRECISION_HIGHP))); 203 shaderSpec.globalDeclarations = "#extension " + extName + " : require\n"; 205 return createExecutor(renderCtx, shaderType, shaderSpec);
|
H A D | es31fOpaqueTypeIndexingTests.cpp | 500 ShaderSpec shaderSpec; local 506 getShaderSpec(&shaderSpec, numSamplers, numLookups, &lookupIndices[0], m_context.getRenderContext()); 528 ShaderExecutorPtr executor (createExecutor(m_context.getRenderContext(), m_shaderType, shaderSpec)); 849 ShaderSpec shaderSpec; local 858 getShaderSpec(&shaderSpec, numInstances, numReads, &readIndices[0], m_context.getRenderContext()); 866 ShaderExecutorPtr shaderExecutor (createExecutor(renderCtx, m_shaderType, shaderSpec)); 1078 ShaderSpec shaderSpec; local 1084 getShaderSpec(&shaderSpec, m_numCounters, numOps, &opIndices[0], m_context.getRenderContext()); 1088 ShaderExecutorPtr shaderExecutor (createExecutor(renderCtx, m_shaderType, shaderSpec));
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
H A D | vktProtectedMemYCbCrConversionTests.cpp | 686 std::map<std::string, std::string> shaderSpec; local 687 shaderSpec["SHADER_HEADER"] = shaderHeader; 688 shaderSpec["COMPARE_FUNCTION"] = compareFunction; 689 shaderSpec["COMPARE_OPERATION"] = compareOperation; 721 dst.glslSources.add("vert") << glu::VertexSource(tcu::StringTemplate(vertexShader).specialize(shaderSpec)); 753 dst.glslSources.add("frag") << glu::FragmentSource(tcu::StringTemplate(fragmentShader).specialize(shaderSpec));
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureFilteringExplicitLodTests.cpp | 648 const ShaderSpec& shaderSpec, 691 const ShaderSpec& shaderSpec, 695 , m_shaderSpec (shaderSpec) 689 TextureFilteringTestInstance(Context& ctx, const TestCaseData& testCaseData, const ShaderSpec& shaderSpec, de::MovePtr<DataGenerator> gen) argument
|
/external/deqp/modules/glshared/ |
H A D | glsShaderExecUtil.cpp | 94 static std::string generateVertexShader (const ShaderSpec& shaderSpec, const std::string& inputPrefix, const std::string& outputPrefix) argument 96 const bool usesInout = glu::glslVersionUsesInOutQualifiers(shaderSpec.version); 103 src << glu::getGLSLVersionDeclaration(shaderSpec.version) << "\n"; 105 if (!shaderSpec.globalDeclarations.empty()) 106 src << shaderSpec.globalDeclarations << "\n"; 110 for (vector<Symbol>::const_iterator input = shaderSpec.inputs.begin(); input != shaderSpec.inputs.end(); ++input) 113 for (vector<Symbol>::const_iterator output = shaderSpec.outputs.begin(); output != shaderSpec.outputs.end(); ++output) 136 for (vector<Symbol>::const_iterator input = shaderSpec 171 generateGeometryShader(const ShaderSpec& shaderSpec, const std::string& inputPrefix, const std::string& outputPrefix) argument 270 generatePassthroughVertexShader(const ShaderSpec& shaderSpec, const std::string& inputPrefix, const std::string& outputPrefix) argument 298 generateFragShaderOutputDecl(std::ostream& src, const ShaderSpec& shaderSpec, bool useIntOutputs, const std::map<std::string, int>& outLocationMap, const std::string& outputPrefix) argument 349 generateFragShaderOutAssign(std::ostream& src, const ShaderSpec& shaderSpec, bool useIntOutputs, const std::string& valuePrefix, const std::string& outputPrefix) argument 377 generateFragmentShader(const ShaderSpec& shaderSpec, bool useIntOutputs, const std::map<std::string, int>& outLocationMap, const std::string& inputPrefix, const std::string& outputPrefix) argument 419 generatePassthroughFragmentShader(const ShaderSpec& shaderSpec, bool useIntOutputs, const std::map<std::string, int>& outLocationMap, const std::string& inputPrefix, const std::string& outputPrefix) argument 457 ShaderExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 520 FragmentOutExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 715 VertexShaderExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 747 create(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 755 GeometryShaderExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 784 FragmentShaderExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 869 BufferIoExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, const glu::ProgramSources& sources) argument 1194 ComputeShaderExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 1256 checkTessSupport(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec, glu::ShaderType stage) argument 1290 create(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 1297 generateTessControlShader(const ShaderSpec& shaderSpec) argument 1349 TessControlExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 1410 create(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 1441 generateTessEvalShader(const ShaderSpec& shaderSpec) argument 1470 TessEvaluationExecutor(const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec) argument 1518 createExecutor(const glu::RenderContext& renderCtx, glu::ShaderType shaderType, const ShaderSpec& shaderSpec) argument [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderOperatorTests.cpp | 1283 ShaderDataSpec shaderSpec; local 1296 shaderSpec.numInputs = 0; 1297 shaderSpec.precision = isBoolCase ? PRECISION_LAST : (Precision)precision; 1298 shaderSpec.output = outDataType; 1299 shaderSpec.resultScale = funcInfo.resultScale; 1300 shaderSpec.resultBias = funcInfo.resultBias; 1367 shaderSpec.inputs[shaderSpec.numInputs++] = ShaderValue(curInDataType, v.rangeMin, v.rangeMax); 1379 innerGroup->addChild(new ShaderOperatorCase(m_context, name.c_str(), desc.c_str(), isVertexCase, evalFunc, shaderOp.c_str(), shaderSpec)); 1435 ShaderDataSpec shaderSpec; local 1498 ShaderDataSpec shaderSpec; local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderOperatorTests.cpp | 1893 ShaderDataSpec shaderSpec; local 1894 shaderSpec.numInputs = 0; 1895 shaderSpec.precision = isBoolCase ? PRECISION_LAST : (Precision)precision; 1896 shaderSpec.output = outDataType; 1897 shaderSpec.resultScale = funcInfo.resultScale; 1898 shaderSpec.resultBias = funcInfo.resultBias; 1899 shaderSpec.referenceScale = funcInfo.referenceScale; 1900 shaderSpec.referenceBias = funcInfo.referenceBias; 1975 shaderSpec.inputs[shaderSpec 2053 ShaderDataSpec shaderSpec; local 2118 ShaderDataSpec shaderSpec; local [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderOperatorTests.cpp | 1921 ShaderDataSpec shaderSpec; local 1934 shaderSpec.numInputs = 0; 1935 shaderSpec.precision = isBoolCase ? PRECISION_LAST : (Precision)precision; 1936 shaderSpec.output = outDataType; 1937 shaderSpec.resultScale = funcInfo.resultScale; 1938 shaderSpec.resultBias = funcInfo.resultBias; 1939 shaderSpec.referenceScale = funcInfo.referenceScale; 1940 shaderSpec.referenceBias = funcInfo.referenceBias; 2015 shaderSpec.inputs[shaderSpec 2088 ShaderDataSpec shaderSpec; local 2153 ShaderDataSpec shaderSpec; local [all...] |