Add support for GLSL_EXT_ray_tracing
and SPV_KHR_ray_tracing
This commit is contained in:
@@ -320,6 +320,20 @@ INSTANTIATE_TEST_CASE_P(
|
||||
"spv.earlyReturnDiscard.frag",
|
||||
"spv.extPostDepthCoverage.frag",
|
||||
"spv.extPostDepthCoverage_Error.frag",
|
||||
"spv.ext.AnyHitShader.rahit",
|
||||
"spv.ext.AnyHitShader_Errors.rahit",
|
||||
"spv.ext.ClosestHitShader.rchit",
|
||||
"spv.ext.ClosestHitShader_Errors.rchit",
|
||||
"spv.ext.IntersectShader.rint",
|
||||
"spv.ext.IntersectShader_Errors.rint",
|
||||
"spv.ext.MissShader.rmiss",
|
||||
"spv.ext.MissShader_Errors.rmiss",
|
||||
"spv.ext.RayCallable.rcall",
|
||||
"spv.ext.RayCallable_Errors.rcall",
|
||||
"spv.ext.RayConstants.rgen",
|
||||
"spv.ext.RayGenShader.rgen",
|
||||
"spv.ext.RayGenShader11.rgen",
|
||||
"spv.ext.RayGenShaderArray.rgen",
|
||||
"spv.float16convertonlyarith.comp",
|
||||
"spv.float16convertonlystorage.comp",
|
||||
"spv.flowControl.frag",
|
||||
|
||||
@@ -61,17 +61,17 @@ EShLanguage GetShaderStage(const std::string& stage)
|
||||
} else if (stage == "comp") {
|
||||
return EShLangCompute;
|
||||
} else if (stage == "rgen") {
|
||||
return EShLangRayGenNV;
|
||||
return EShLangRayGen;
|
||||
} else if (stage == "rint") {
|
||||
return EShLangIntersectNV;
|
||||
return EShLangIntersect;
|
||||
} else if (stage == "rahit") {
|
||||
return EShLangAnyHitNV;
|
||||
return EShLangAnyHit;
|
||||
} else if (stage == "rchit") {
|
||||
return EShLangClosestHitNV;
|
||||
return EShLangClosestHit;
|
||||
} else if (stage == "rmiss") {
|
||||
return EShLangMissNV;
|
||||
return EShLangMiss;
|
||||
} else if (stage == "rcall") {
|
||||
return EShLangCallableNV;
|
||||
return EShLangCallable;
|
||||
} else if (stage == "task") {
|
||||
return EShLangTaskNV;
|
||||
} else if (stage == "mesh") {
|
||||
|
||||
Reference in New Issue
Block a user