/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmWorkgroupMemoryTests.cpp | 273 map<string, string> shaderSpec; in addComputeWorkgroupMemoryTests() local 275 shaderSpec["sizeBytes"] = "8"; in addComputeWorkgroupMemoryTests() 276 shaderSpec["dataTypeDecl"] = "%f64 = OpTypeFloat 64"; in addComputeWorkgroupMemoryTests() 277 shaderSpec["dataType"] = "f64"; in addComputeWorkgroupMemoryTests() 278 shaderSpec["capabilities"] = "OpCapability Float64\n"; in addComputeWorkgroupMemoryTests() 290 spec.assembly = shaderSource.specialize(shaderSpec); in addComputeWorkgroupMemoryTests() 303 map<string, string> shaderSpec; in addComputeWorkgroupMemoryTests() local 305 shaderSpec["sizeBytes"] = "4"; in addComputeWorkgroupMemoryTests() 306 shaderSpec["dataTypeDecl"] = "%f32 = OpTypeFloat 32"; in addComputeWorkgroupMemoryTests() 307 shaderSpec["dataType"] = "f32"; in addComputeWorkgroupMemoryTests() [all …]
|
D | vktSpvAsmVariableInitTests.cpp | 159 map<string, string> shaderSpec; in addComputeVariableInitPrivateTest() local 163 shaderSpec["type"] = params[paramIdx].type; in addComputeVariableInitPrivateTest() 164 shaderSpec["arrayStride"] = de::toString(numComponents * 4); in addComputeVariableInitPrivateTest() 165 shaderSpec["count"] = de::toString(numElements); in addComputeVariableInitPrivateTest() 166 shaderSpec["constData"] = params[paramIdx].type + "_1"; in addComputeVariableInitPrivateTest() 170 shaderSpec["extraDecorations"] = in addComputeVariableInitPrivateTest() 175 spec.assembly = shaderSourceTemplate.specialize(shaderSpec); in addComputeVariableInitPrivateTest() 243 map<string, string> shaderSpec; in addGraphicsVariableInitPrivateTest() local 247 shaderSpec["type"] = params[paramIdx].type; in addGraphicsVariableInitPrivateTest() 248 shaderSpec["arrayStride"] = de::toString(numComponents * 4); in addGraphicsVariableInitPrivateTest() [all …]
|
/external/deqp/modules/glshared/ |
D | glsShaderExecUtil.cpp | 94 static std::string generateVertexShader (const ShaderSpec& shaderSpec, const std::string& inputPref… in generateVertexShader() argument 96 const bool usesInout = glu::glslVersionUsesInOutQualifiers(shaderSpec.version); in generateVertexShader() 103 src << glu::getGLSLVersionDeclaration(shaderSpec.version) << "\n"; in generateVertexShader() 105 if (!shaderSpec.globalDeclarations.empty()) in generateVertexShader() 106 src << shaderSpec.globalDeclarations << "\n"; in generateVertexShader() 110 …for (vector<Symbol>::const_iterator input = shaderSpec.inputs.begin(); input != shaderSpec.inputs.… in generateVertexShader() 113 …for (vector<Symbol>::const_iterator output = shaderSpec.outputs.begin(); output != shaderSpec.outp… in generateVertexShader() 136 …for (vector<Symbol>::const_iterator input = shaderSpec.inputs.begin(); input != shaderSpec.inputs.… in generateVertexShader() 140 …for (vector<Symbol>::const_iterator output = shaderSpec.outputs.begin(); output != shaderSpec.outp… in generateVertexShader() 145 std::istringstream opSrc (shaderSpec.source); in generateVertexShader() [all …]
|
D | glsShaderExecUtil.hpp | 91 ShaderExecutor (const glu::RenderContext& renderCtx, const ShaderSpec& shaderSpec); 102 …or (const glu::RenderContext& renderCtx, glu::ShaderType shaderType, const ShaderSpec& shaderSpec);
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 169 static std::string generatePassthroughVertexShader (const ShaderSpec& shaderSpec, const char* input… in generatePassthroughVertexShader() argument 174 src << glu::getGLSLVersionDeclaration(shaderSpec.glslVersion) << "\n"; in generatePassthroughVertexShader() 176 if (!shaderSpec.globalDeclarations.empty()) in generatePassthroughVertexShader() 177 src << shaderSpec.globalDeclarations << "\n"; in generatePassthroughVertexShader() 181 …for (vector<Symbol>::const_iterator input = shaderSpec.inputs.begin(); input != shaderSpec.inputs.… in generatePassthroughVertexShader() 192 …for (vector<Symbol>::const_iterator input = shaderSpec.inputs.begin(); input != shaderSpec.inputs.… in generatePassthroughVertexShader() 200 static std::string generateVertexShader (const ShaderSpec& shaderSpec, const std::string& inputPref… in generateVertexShader() argument 206 src << glu::getGLSLVersionDeclaration(shaderSpec.glslVersion) << "\n"; in generateVertexShader() 208 if (!shaderSpec.globalDeclarations.empty()) in generateVertexShader() 209 src << shaderSpec.globalDeclarations << "\n"; in generateVertexShader() [all …]
|
D | vktShaderExecutor.hpp | 89 ShaderExecutor (Context& context, const ShaderSpec& shaderSpec) in ShaderExecutor() argument 91 , m_shaderSpec (shaderSpec) in ShaderExecutor() 102 void generateSources (glu::ShaderType shaderType, const ShaderSpec& shaderSpec, vk::SourceColle… 103 …utor (Context& context, glu::ShaderType shaderType, const ShaderSpec& shaderSpec, vk::VkDescripto…
|
D | vktOpaqueTypeIndexingTests.cpp | 215 const ShaderSpec& shaderSpec, 235 const ShaderSpec& shaderSpec, in OpaqueTypeIndexingTestInstance() argument 241 , m_shaderSpec (shaderSpec) in OpaqueTypeIndexingTestInstance() 615 const ShaderSpec& shaderSpec, 631 const ShaderSpec& shaderSpec, in SamplerIndexingCaseInstance() argument 636 : OpaqueTypeIndexingTestInstance (context, shaderType, shaderSpec, name, indexExprType) in SamplerIndexingCaseInstance() 1125 const ShaderSpec& shaderSpec, 1145 const ShaderSpec& shaderSpec, in BlockArrayIndexingCaseInstance() argument 1152 : OpaqueTypeIndexingTestInstance (context, shaderType, shaderSpec, name, indexExprType) in BlockArrayIndexingCaseInstance() 1496 const ShaderSpec& shaderSpec, [all …]
|
D | vktAtomicOperationTests.cpp | 443 const ShaderSpec& shaderSpec, 459 const ShaderSpec& shaderSpec, in AtomicOperationCaseInstance() argument 464 , m_shaderSpec (shaderSpec) in AtomicOperationCaseInstance()
|
D | vktShaderBuiltinPrecisionTests.cpp | 5863 const ShaderSpec& shaderSpec, in BuiltinPrecisionCaseTestInstance() argument 5872 , m_executor (createExecutor(context, caseCtx.shaderType, shaderSpec)) in BuiltinPrecisionCaseTestInstance()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderMacroTests.cpp | 39 …deqp::Context& context, const char* name, glu::ShaderType shaderType, const ShaderSpec& shaderSpec, 51 const ShaderSpec& shaderSpec, int expectedOutput) in ExecutorTestCase() argument 54 , m_shaderSpec(shaderSpec) in ExecutorTestCase() 111 ShaderSpec shaderSpec; in init() local 112 shaderSpec.version = glu::getContextTypeGLSLVersion(contextType); in init() 113 shaderSpec.source = fragmentPrecisionShaderTemplate; in init() 114 shaderSpec.outputs.push_back(Symbol("out0", glu::VarType(glu::TYPE_INT, glu::PRECISION_HIGHP))); in init() 122 shaderSpec.version = glu::GLSL_VERSION_320_ES; in init() 129 shaderSpec.version = glu::GLSL_VERSION_310_ES; in init() 149 addChild(new ExecutorTestCase(m_context, caseName.c_str(), shaderType, shaderSpec, 1)); in init()
|
D | glcShaderConstExprTests.cpp | 76 …deqp::Context& context, const char* name, glu::ShaderType shaderType, const ShaderSpec& shaderSpec, 91 const ShaderSpec& shaderSpec, OutputType expectedOutput) in ExecutorTestCase() argument 94 , m_shaderSpec(shaderSpec) in ExecutorTestCase() 185 ShaderSpec shaderSpec; in createTestCasesForAllShaderTypes() local 186 shaderSpec.version = glu::getContextTypeGLSLVersion(contextType); in createTestCasesForAllShaderTypes() 187 shaderSpec.source = params.source; in createTestCasesForAllShaderTypes() 188 shaderSpec.outputs.push_back(Symbol("out0", glu::VarType(params.outType, glu::PRECISION_HIGHP))); in createTestCasesForAllShaderTypes() 204 shaderSpec.version = glu::GLSL_VERSION_320_ES; in createTestCasesForAllShaderTypes() 211 shaderSpec.version = glu::GLSL_VERSION_310_ES; in createTestCasesForAllShaderTypes() 233 shaderSpec.globalDeclarations += "precision highp float;\n"; in createTestCasesForAllShaderTypes() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderBuiltinConstantTests.cpp | 195 ShaderSpec shaderSpec; in createGetConstantExecutor() local 197 shaderSpec.version = supportsES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; in createGetConstantExecutor() 198 shaderSpec.source = string("result = ") + varName + ";\n"; in createGetConstantExecutor() 200 shaderSpec.outputs.push_back(Symbol("result", glu::VarType(dataType, glu::PRECISION_HIGHP))); in createGetConstantExecutor() 203 shaderSpec.globalDeclarations = "#extension " + extName + " : require\n"; in createGetConstantExecutor() 205 return createExecutor(renderCtx, shaderType, shaderSpec); in createGetConstantExecutor()
|
D | es31fOpaqueTypeIndexingTests.cpp | 500 ShaderSpec shaderSpec; in iterate() local 506 …getShaderSpec(&shaderSpec, numSamplers, numLookups, &lookupIndices[0], m_context.getRenderContext(… in iterate() 528 …derExecutorPtr executor (createExecutor(m_context.getRenderContext(), m_shaderType, shaderSpec)); in iterate() 849 ShaderSpec shaderSpec; in iterate() local 858 getShaderSpec(&shaderSpec, numInstances, numReads, &readIndices[0], m_context.getRenderContext()); in iterate() 866 ShaderExecutorPtr shaderExecutor (createExecutor(renderCtx, m_shaderType, shaderSpec)); in iterate() 1078 ShaderSpec shaderSpec; in iterate() local 1084 getShaderSpec(&shaderSpec, m_numCounters, numOps, &opIndices[0], m_context.getRenderContext()); in iterate() 1088 ShaderExecutorPtr shaderExecutor (createExecutor(renderCtx, m_shaderType, shaderSpec)); in iterate()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderOperatorTests.cpp | 1283 ShaderDataSpec shaderSpec; in init() local 1296 shaderSpec.numInputs = 0; in init() 1297 shaderSpec.precision = isBoolCase ? PRECISION_LAST : (Precision)precision; in init() 1298 shaderSpec.output = outDataType; in init() 1299 shaderSpec.resultScale = funcInfo.resultScale; in init() 1300 shaderSpec.resultBias = funcInfo.resultBias; in init() 1367 … shaderSpec.inputs[shaderSpec.numInputs++] = ShaderValue(curInDataType, v.rangeMin, v.rangeMax); in init() 1379 …Case(m_context, name.c_str(), desc.c_str(), isVertexCase, evalFunc, shaderOp.c_str(), shaderSpec)); in init() 1435 ShaderDataSpec shaderSpec; in init() local 1441 shaderSpec.numInputs = 3; in init() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderOperatorTests.cpp | 1893 ShaderDataSpec shaderSpec; in init() local 1894 shaderSpec.numInputs = 0; in init() 1895 shaderSpec.precision = isBoolCase ? PRECISION_LAST : (Precision)precision; in init() 1896 shaderSpec.output = outDataType; in init() 1897 shaderSpec.resultScale = funcInfo.resultScale; in init() 1898 shaderSpec.resultBias = funcInfo.resultBias; in init() 1899 shaderSpec.referenceScale = funcInfo.referenceScale; in init() 1900 shaderSpec.referenceBias = funcInfo.referenceBias; in init() 1975 … shaderSpec.inputs[shaderSpec.numInputs++] = ShaderValue(curInDataType, v.rangeMin, v.rangeMax); in init() 1987 …OperatorCase(m_testCtx, name.c_str(), desc.c_str(), isVertexCase, evalFunc, shaderOp, shaderSpec)); in init() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderOperatorTests.cpp | 1921 ShaderDataSpec shaderSpec; in init() local 1934 shaderSpec.numInputs = 0; in init() 1935 shaderSpec.precision = isBoolCase ? PRECISION_LAST : (Precision)precision; in init() 1936 shaderSpec.output = outDataType; in init() 1937 shaderSpec.resultScale = funcInfo.resultScale; in init() 1938 shaderSpec.resultBias = funcInfo.resultBias; in init() 1939 shaderSpec.referenceScale = funcInfo.referenceScale; in init() 1940 shaderSpec.referenceBias = funcInfo.referenceBias; in init() 2015 … shaderSpec.inputs[shaderSpec.numInputs++] = ShaderValue(curInDataType, v.rangeMin, v.rangeMax); in init() 2027 …OperatorCase(m_context, name.c_str(), desc.c_str(), isVertexCase, evalFunc, shaderOp, shaderSpec)); in init() [all …]
|
D | es3fShaderBuiltinVarTests.cpp | 118 ShaderSpec shaderSpec; in createGetConstantExecutor() local 120 shaderSpec.version = glu::GLSL_VERSION_300_ES; in createGetConstantExecutor() 121 shaderSpec.source = string("result = ") + varName + ";\n"; in createGetConstantExecutor() 122 shaderSpec.outputs.push_back(Symbol("result", glu::VarType(glu::TYPE_INT, glu::PRECISION_HIGHP))); in createGetConstantExecutor() 124 return createExecutor(renderCtx, shaderType, shaderSpec); in createGetConstantExecutor()
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
D | vktProtectedMemYCbCrConversionTests.cpp | 697 std::map<std::string, std::string> shaderSpec; in testShaders() local 698 shaderSpec["SHADER_HEADER"] = shaderHeader; in testShaders() 699 shaderSpec["COMPARE_FUNCTION"] = compareFunction; in testShaders() 700 shaderSpec["COMPARE_OPERATION"] = compareOperation; in testShaders() 732 …Sources.add("vert") << glu::VertexSource(tcu::StringTemplate(vertexShader).specialize(shaderSpec)); in testShaders() 764 …ces.add("frag") << glu::FragmentSource(tcu::StringTemplate(fragmentShader).specialize(shaderSpec)); in testShaders()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureFilteringExplicitLodTests.cpp | 549 const ShaderSpec& shaderSpec, 592 const ShaderSpec& shaderSpec, in TextureFilteringTestInstance() argument 596 , m_shaderSpec (shaderSpec) in TextureFilteringTestInstance()
|