/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingBuiltinTests.cpp | 380 …const vk::ShaderBuildOptions buildOptions(programCollection.usedVulkanVersion, vk::SPIRV_VERSION_1… in initPrograms() local 412 …tion.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 419 …"rgen") << glu::RaygenSource(updateRayTracingGLSL(getCommonRayGenerationShader())) << buildOptions; in initPrograms() 436 …tion.glslSources.add("ahit") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 439 …es.add("chit") << glu::ClosestHitSource(updateRayTracingGLSL(getHitPassthrough())) << buildOptions; in initPrograms() 440 …Sources.add("miss") << glu::MissSource(updateRayTracingGLSL(getMissPassthrough())) << buildOptions; in initPrograms() 447 …"rgen") << glu::RaygenSource(updateRayTracingGLSL(getCommonRayGenerationShader())) << buildOptions; in initPrograms() 464 ….glslSources.add("chit") << glu::ClosestHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 467 …ources.add("ahit") << glu::AnyHitSource(updateRayTracingGLSL(getHitPassthrough())) << buildOptions; in initPrograms() 468 …Sources.add("miss") << glu::MissSource(updateRayTracingGLSL(getMissPassthrough())) << buildOptions; in initPrograms() [all …]
|
D | vktRayTracingComplexControlFlowTests.cpp | 1128 …const vk::ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, vk::SPIRV_VERSIO… in initPrograms() local 1412 programCollection.glslSources.add("rgen") << glu::RaygenSource(css.str()) << buildOptions; in initPrograms() 1413 programCollection.glslSources.add("cal0") << glu::CallableSource(calleeShader) << buildOptions; in initPrograms() 1420 …ction.glslSources.add("rgen") << glu::RaygenSource(getCommonRayGenerationShader()) << buildOptions; in initPrograms() 1436 programCollection.glslSources.add("chit") << glu::ClosestHitSource(css.str()) << buildOptions; in initPrograms() 1437 programCollection.glslSources.add("cal0") << glu::CallableSource(calleeShader) << buildOptions; in initPrograms() 1439 …rogramCollection.glslSources.add("ahit") << glu::AnyHitSource(getHitPassthrough()) << buildOptions; in initPrograms() 1440 …programCollection.glslSources.add("miss") << glu::MissSource(getMissPassthrough()) << buildOptions; in initPrograms() 1441 …n.glslSources.add("sect") << glu::IntersectionSource(getIntersectionPassthrough()) << buildOptions; in initPrograms() 1448 …ction.glslSources.add("rgen") << glu::RaygenSource(getCommonRayGenerationShader()) << buildOptions; in initPrograms() [all …]
|
D | vktRayTracingMemGuaranteeTests.cpp | 305 …const vk::ShaderBuildOptions buildOptions(programCollection.usedVulkanVersion, vk::SPIRV_VERSION_1… in initPrograms() local 359 …tion.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 360 …glslSources.add("cal0") << glu::CallableSource(updateRayTracingGLSL(calleeShader)) << buildOptions; in initPrograms() 367 …"rgen") << glu::RaygenSource(updateRayTracingGLSL(getCommonRayGenerationShader())) << buildOptions; in initPrograms() 384 ….glslSources.add("chit") << glu::ClosestHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 385 …glslSources.add("cal0") << glu::CallableSource(updateRayTracingGLSL(calleeShader)) << buildOptions; in initPrograms() 387 …ources.add("ahit") << glu::AnyHitSource(updateRayTracingGLSL(getHitPassthrough())) << buildOptions; in initPrograms() 388 …Sources.add("miss") << glu::MissSource(updateRayTracingGLSL(getMissPassthrough())) << buildOptions; in initPrograms() 389 …t") << glu::IntersectionSource(updateRayTracingGLSL(getIntersectionPassthrough())) << buildOptions; in initPrograms() 396 …"rgen") << glu::RaygenSource(updateRayTracingGLSL(getCommonRayGenerationShader())) << buildOptions; in initPrograms() [all …]
|
D | vktRayTracingBarrierTests.cpp | 379 …const ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, SPIRV_VERSION_1_4, 0… in initPrograms() local 462 …lSources.add("writer_rgen") << glu::RaygenSource(updateRayTracingGLSL(rgen.str())) << buildOptions; in initPrograms() 466 …_rgen") << glu::RaygenSource(updateRayTracingGLSL(getCommonRayGenerationShader())) << buildOptions; in initPrograms() 482 ….add("writer_isect") << glu::IntersectionSource(updateRayTracingGLSL(isect.str())) << buildOptions; in initPrograms() 486 …_rgen") << glu::RaygenSource(updateRayTracingGLSL(getCommonRayGenerationShader())) << buildOptions; in initPrograms() 501 …lSources.add("writer_ahit") << glu::AnyHitSource(updateRayTracingGLSL(ahit.str())) << buildOptions; in initPrograms() 505 …_rgen") << glu::RaygenSource(updateRayTracingGLSL(getCommonRayGenerationShader())) << buildOptions; in initPrograms() 520 …rces.add("writer_chit") << glu::ClosestHitSource(updateRayTracingGLSL(chit.str())) << buildOptions; in initPrograms() 524 …_rgen") << glu::RaygenSource(updateRayTracingGLSL(getCommonRayGenerationShader())) << buildOptions; in initPrograms() 538 …lslSources.add("writer_miss") << glu::MissSource(updateRayTracingGLSL(miss.str())) << buildOptions; in initPrograms() [all …]
|
D | vktRayTracingTraversalControlTests.cpp | 439 …const vk::ShaderBuildOptions buildOptions(programCollection.usedVulkanVersion, vk::SPIRV_VERSION_1… in initPrograms() local 460 …tion.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 475 …es.add("isect_report") << glu::IntersectionSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 487 …("isect_pass_through") << glu::IntersectionSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 501 …tion.glslSources.add("ahit") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 513 …ces.add("ahit_pass_through") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 529 …slSources.add("ahit_ignore") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 545 …ources.add("ahit_terminate") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 559 ….glslSources.add("chit") << glu::ClosestHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 573 …ection.glslSources.add("miss") << glu::MissSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
|
D | vktRayTracingMiscTests.cpp | 1245 const vk::ShaderBuildOptions buildOptions( programCollection.usedVulkanVersion, in initPrograms() local 1283 programCollection.glslSources.add("ahit") << glu::AnyHitSource(css.str() ) << buildOptions; in initPrograms() 1301 …mCollection.glslSources.add("intersection") << glu::IntersectionSource(css.str() ) << buildOptions; in initPrograms() 1328 programCollection.glslSources.add("miss") << glu::MissSource(css.str() ) << buildOptions; in initPrograms() 1359 programCollection.glslSources.add("rgen") << glu::RaygenSource(css.str() ) << buildOptions; in initPrograms() 1560 const vk::ShaderBuildOptions buildOptions( programCollection.usedVulkanVersion, in initPrograms() local 1600 programCollection.glslSources.add("ahit") << glu::AnyHitSource(css.str() ) << buildOptions; in initPrograms() 1618 …mCollection.glslSources.add("intersection") << glu::IntersectionSource(css.str() ) << buildOptions; in initPrograms() 1645 programCollection.glslSources.add("miss") << glu::MissSource(css.str() ) << buildOptions; in initPrograms() 1683 programCollection.glslSources.add("rgen") << glu::RaygenSource(css.str() ) << buildOptions; in initPrograms() [all …]
|
D | vktRayTracingDirectionTests.cpp | 260 …const vk::ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, vk::SPIRV_VERSION_… in initPrograms() local 283 …ion.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(rgen.str())) << buildOptions; in initPrograms() 319 …glslSources.add("hits") << glu::ClosestHitSource(updateRayTracingGLSL(hits.str())) << buildOptions; in initPrograms() 322 …ion.glslSources.add("hits") << glu::AnyHitSource(updateRayTracingGLSL(hits.str())) << buildOptions; in initPrograms() 325 …slSources.add("isec") << glu::IntersectionSource(updateRayTracingGLSL(isec.str())) << buildOptions; in initPrograms() 334 …slSources.add("isec") << glu::IntersectionSource(updateRayTracingGLSL(isec.str())) << buildOptions; in initPrograms() 349 …ction.glslSources.add("miss") << glu::MissSource(updateRayTracingGLSL(miss.str())) << buildOptions; in initPrograms()
|
/external/OpenCL-CTS/test_conformance/compiler/ |
D | test_opencl_c_versions.cpp | 77 const char* buildOptions; in test_CL_DEVICE_OPENCL_C_VERSION() member 94 testcase.buildOptions); in test_CL_DEVICE_OPENCL_C_VERSION() 98 testcase.buildOptions); in test_CL_DEVICE_OPENCL_C_VERSION() 149 std::string buildOptions = "-cl-std=CL"; in test_CL_DEVICE_OPENCL_C_ALL_VERSIONS() local 150 buildOptions += std::to_string(major); in test_CL_DEVICE_OPENCL_C_ALL_VERSIONS() 151 buildOptions += "."; in test_CL_DEVICE_OPENCL_C_ALL_VERSIONS() 152 buildOptions += std::to_string(minor); in test_CL_DEVICE_OPENCL_C_ALL_VERSIONS() 157 buildOptions.c_str()); in test_CL_DEVICE_OPENCL_C_ALL_VERSIONS() 161 buildOptions.c_str()); in test_CL_DEVICE_OPENCL_C_ALL_VERSIONS()
|
/external/OpenCL-CTS/test_common/harness/ |
D | kernelHelpers.cpp | 167 const char *buildOptions) in get_unique_filename_prefix() argument 175 if (buildOptions) in get_unique_filename_prefix() 177 cl_uint bOptionsCrc = crc32(buildOptions, strlen(buildOptions)); in get_unique_filename_prefix() 247 const char *buildOptions) in save_kernel_build_options_to_disk() argument 257 ofs.write(buildOptions, strlen(buildOptions)); in save_kernel_build_options_to_disk() 283 const char *buildOptions) in save_kernel_source_and_options_to_disk() argument 289 get_unique_filename_prefix(numKernelLines, kernelProgram, buildOptions); in save_kernel_source_and_options_to_disk() 296 if (buildOptions != NULL) in save_kernel_source_and_options_to_disk() 298 gCompilationCachePath, kernelNamePrefix, buildOptions); in save_kernel_source_and_options_to_disk() 549 const char *buildOptions, CompilationMode compilationMode) in create_single_kernel_helper_create_program_offline() argument [all …]
|
D | kernelHelpers.h | 75 const char *buildOptions = NULL); 80 const char *kernelName, const char *buildOptions); 84 const char **kernelProgram, const char *buildOptions = NULL); 89 const char *buildOptions = NULL); 96 const char *buildOptions = NULL); 102 const char *kernelName, const char *buildOptions = NULL);
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_vector_swizzle.cpp | 616 std::string buildOptions{ "-DTYPE=" }; in test_vectype() local 617 buildOptions += type_name; in test_vectype() 618 buildOptions += std::to_string(N); in test_vectype() 619 buildOptions += " -DBASETYPE="; in test_vectype() 620 buildOptions += type_name; in test_vectype() 635 buildOptions.c_str()); in test_vectype() 644 buildOptions.c_str()); in test_vectype() 656 "test_vector_swizzle_rgba", buildOptions.c_str()); in test_vectype()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkShaderToSpirV.cpp | 219 …ce (const std::vector<std::string>* sources, const ShaderBuildOptions buildOptions, glu::ShaderTyp… in getShaderStageSource() argument 224 if ((buildOptions.flags & ShaderBuildOptions::FLAG_USE_STORAGE_BUFFER_STORAGE_CLASS) != 0) in getShaderStageSource() 256 …V (const std::vector<std::string>* sources, const ShaderBuildOptions& buildOptions, const ShaderLa… in compileShaderToSpirV() argument 259 const EShMessages compileFlags = getCompileFlags(buildOptions, shaderLanguage); in compileShaderToSpirV() 261 if (buildOptions.targetVersion >= SPIRV_VERSION_LAST) in compileShaderToSpirV() 275 …const std::string& srcText = getShaderStageSource(sources, buildOptions, (glu::ShaderType)shad… in compileShaderToSpirV() 283 switch ( buildOptions.targetVersion ) in compileShaderToSpirV() 355 …return compileShaderToSpirV(program.sources, program.buildOptions, program.shaderLanguage, dst, bu… in compileGlslToSpirV() 360 …return compileShaderToSpirV(program.sources, program.buildOptions, program.shaderLanguage, dst, bu… in compileHlslToSpirV()
|
D | vkPrograms.cpp | 406 void getBuildOptions (std::string& shaderstring, const ShaderBuildOptions& buildOptions, int optimi… in getBuildOptions() argument 409 shaderstring += getSpirvVersionName(buildOptions.targetVersion); in getBuildOptions() 411 if (buildOptions.flags & ShaderBuildOptions::FLAG_ALLOW_RELAXED_OFFSETS) in getBuildOptions() 413 if (buildOptions.flags & ShaderBuildOptions::FLAG_USE_STORAGE_BUFFER_STORAGE_CLASS) in getBuildOptions() 425 const SpirvVersion spirvVersion = program.buildOptions.targetVersion; in buildProgram() 437 getBuildOptions(cachekey, program.buildOptions, optimizationRecipe); in buildProgram() 492 validateCompiledBinary(binary, buildInfo, program.buildOptions.getSpirvValidatorOptions()); in buildProgram() 498 validateCompiledBinary(binary, buildInfo, program.buildOptions.getSpirvValidatorOptions()); in buildProgram() 510 const SpirvVersion spirvVersion = program.buildOptions.targetVersion; in buildProgram() 522 getBuildOptions(cachekey, program.buildOptions, optimizationRecipe); in buildProgram() [all …]
|
D | vkPrograms.hpp | 80 Program& add (const std::string& name, const BuildOptions* buildOptions); 151 prog->buildOptions = m_defaultBuildOptions; in add() 158 …mCollection<Program, BuildOptions>::add (const std::string& name, const BuildOptions* buildOptions) in add() argument 162 if (buildOptions != DE_NULL) in add() 163 program << *buildOptions; in add()
|
D | vkSpirVProgram.hpp | 79 buildOptions = buildOptions_; in operator <<() 83 SpirVAsmBuildOptions buildOptions; member
|
D | vkShaderProgram.cpp | 39 buildOptions = buildOptions_; in operator <<() 51 buildOptions = buildOptions_; in operator <<()
|
D | vkShaderProgram.hpp | 109 ShaderBuildOptions buildOptions; member 119 ShaderBuildOptions buildOptions; member
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktBuildPrograms.cpp | 267 DE_ASSERT(m_source.buildOptions.targetVersion < vk::SPIRV_VERSION_LAST); in execute() 271 m_program->validatorOptions = m_source.buildOptions.getSpirvValidatorOptions(); in execute() 322 DE_ASSERT(m_source.buildOptions.targetVersion < vk::SPIRV_VERSION_LAST); in execute() 452 …buildOptions.targetVersion > maxSpirvVersion && !(allowSpirV14 && progIter.getProgram().buildOptio… in buildPrograms() 455 …rogramIdentifier(casePath, progIter.getName()), progIter.getProgram().buildOptions.getSpirvValidat… in buildPrograms() 467 …buildOptions.targetVersion > maxSpirvVersion && !(allowSpirV14 && progIter.getProgram().buildOptio… in buildPrograms() 470 …rogramIdentifier(casePath, progIter.getName()), progIter.getProgram().buildOptions.getSpirvValidat… in buildPrograms() 482 …buildOptions.targetVersion > maxSpirvVersion && !(allowSpirV14 && progIter.getProgram().buildOptio… in buildPrograms() 485 …rogramIdentifier(casePath, progIter.getName()), progIter.getProgram().buildOptions.getSpirvValidat… in buildPrograms()
|
/external/deqp/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryWatertightnessTests.cpp | 439 …const vk::ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, vk::SPIRV_VERSION_… in initPrograms() local 472 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()) << buildOptions; in initPrograms() 475 …ollection.glslSources.add("frag") << glu::FragmentSource(getGraphicsPassthrough()) << buildOptions; in initPrograms() 497 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()) << buildOptions; in initPrograms() 541 …ramCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()) << buildOptions; in initPrograms() 559 …Collection.glslSources.add("tese") << glu::TessellationEvaluationSource(src.str()) << buildOptions; in initPrograms() 582 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()) << buildOptions; in initPrograms() 607 …ramCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()) << buildOptions; in initPrograms() 639 …Collection.glslSources.add("tese") << glu::TessellationEvaluationSource(src.str()) << buildOptions; in initPrograms() 647 …ramCollection.glslSources.add("vert") << glu::VertexSource(getVertexPassthrough()) << buildOptions; in initPrograms() [all …]
|
D | vktRayQueryTraversalControlTests.cpp | 1299 …const vk::ShaderBuildOptions buildOptions(programCollection.usedVulkanVersion, vk::SPIRV_VERSION_1… in initPrograms() local 1407 programCollection.glslSources.add("vert") << glu::VertexSource(css.str()) << buildOptions; in initPrograms() 1430 programCollection.glslSources.add(cssName.str()) << glu::VertexSource(css.str()) << buildOptions; in initPrograms() 1450 …ramCollection.glslSources.add("tesc") << glu::TessellationControlSource(css.str()) << buildOptions; in initPrograms() 1481 …ection.glslSources.add(cssName.str()) << glu::TessellationControlSource(css.str()) << buildOptions; in initPrograms() 1508 …ion.glslSources.add(cssName.str()) << glu::TessellationEvaluationSource(css.str()) << buildOptions; in initPrograms() 1522 …Collection.glslSources.add("tese") << glu::TessellationEvaluationSource(css.str()) << buildOptions; in initPrograms() 1558 …programCollection.glslSources.add(cssName.str()) << glu::GeometrySource(css.str()) << buildOptions; in initPrograms() 1579 …programCollection.glslSources.add(cssName.str()) << glu::FragmentSource(css.str()) << buildOptions; in initPrograms() 1602 … programCollection.glslSources.add(cssName.str()) << glu::ComputeSource(css.str()) << buildOptions; in initPrograms() [all …]
|
D | vktRayQueryCullRayFlagsTests.cpp | 1242 …const vk::ShaderBuildOptions buildOptions(programCollection.usedVulkanVersion, vk::SPIRV_VERSION_1… in initPrograms() local 1374 programCollection.glslSources.add(cssName.str()) << glu::VertexSource(css.str()) << buildOptions; in initPrograms() 1427 …ection.glslSources.add(cssName.str()) << glu::TessellationControlSource(css.str()) << buildOptions; in initPrograms() 1456 …ion.glslSources.add(cssName.str()) << glu::TessellationEvaluationSource(css.str()) << buildOptions; in initPrograms() 1525 …programCollection.glslSources.add(cssName.str()) << glu::GeometrySource(css.str()) << buildOptions; in initPrograms() 1548 …programCollection.glslSources.add(cssName.str()) << glu::FragmentSource(css.str()) << buildOptions; in initPrograms() 1573 … programCollection.glslSources.add(cssName.str()) << glu::ComputeSource(css.str()) << buildOptions; in initPrograms() 1598 …tion.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 1623 …slSources.add(cssName.str()) << glu::RaygenSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 1649 …glslSources.add("rgen_call") << glu::RaygenSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() [all …]
|
/external/OpenCL-CTS/test_conformance/non_uniform_work_group/ |
D | TestNonUniformWorkGroup.cpp | 544 std::string buildOptions{}; in prepareDevice() local 550 buildOptions += tmp.str(); in prepareDevice() 554 buildOptions += " -D TESTBASIC"; in prepareDevice() 556 buildOptions += " -D TESTATOMICS"; in prepareDevice() 558 buildOptions += " -D TESTBARRIERS"; in prepareDevice() 561 &KERNEL_FUNCTION, "testKernel", buildOptions.c_str()); in prepareDevice() 834 std::string buildOptions{}; in calculateWorkGroupSize() local 837 buildOptions += " -D TESTBASIC"; in calculateWorkGroupSize() 839 buildOptions += " -D TESTATOMICS"; in calculateWorkGroupSize() 841 buildOptions += " -D TESTBARRIERS"; in calculateWorkGroupSize() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsBallotOtherTests.cpp | 228 …const vk::ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, vk::SPIRV_VERSION_… in initFrameBufferPrograms() local 253 << glu::VertexSource(vertex.str()) << buildOptions; in initFrameBufferPrograms() 275 << glu::GeometrySource(geometry.str()) << buildOptions; in initFrameBufferPrograms() 300 << glu::TessellationControlSource(controlSource.str()) << buildOptions; in initFrameBufferPrograms() 320 << glu::TessellationEvaluationSource(evaluationSource.str()) << buildOptions; in initFrameBufferPrograms()
|
D | vktSubgroupsShapeTests.cpp | 85 …const vk::ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, vk::SPIRV_VERSION_… in initFrameBufferPrograms() local 165 << glu::VertexSource(vertexSrc.str()) << buildOptions; in initFrameBufferPrograms() 188 << glu::GeometrySource(geometry.str()) << buildOptions; in initFrameBufferPrograms() 213 << glu::TessellationControlSource(controlSource.str()) << buildOptions; in initFrameBufferPrograms() 234 << glu::TessellationEvaluationSource(evaluationSource.str()) << buildOptions; in initFrameBufferPrograms()
|
D | vktSubgroupsBallotMasksTests.cpp | 150 …const vk::ShaderBuildOptions buildOptions (programCollection.usedVulkanVersion, vk::SPIRV_VERSION_… in initFrameBufferPrograms() local 176 << glu::VertexSource(vertex.str()) << buildOptions; in initFrameBufferPrograms() 199 << glu::GeometrySource(geometry.str()) << buildOptions; in initFrameBufferPrograms() 225 << glu::TessellationControlSource(controlSource.str()) << buildOptions; in initFrameBufferPrograms() 246 << glu::TessellationEvaluationSource(evaluationSource.str()) << buildOptions; in initFrameBufferPrograms()
|