Add-support-for-SPV_NVX_raytracing
This commit is contained in:
@@ -501,6 +501,17 @@ INSTANTIATE_TEST_CASE_P(
|
||||
"spv.multiviewPerViewAttributes.vert",
|
||||
"spv.multiviewPerViewAttributes.tesc",
|
||||
"spv.atomicInt64.comp",
|
||||
"spv.RayGenShader.rgen",
|
||||
"spv.RayGenShader_Errors.rgen",
|
||||
"spv.RayConstants.rgen",
|
||||
"spv.IntersectShader.rint",
|
||||
"spv.IntersectShader_Errors.rint",
|
||||
"spv.AnyHitShader.rahit",
|
||||
"spv.AnyHitShader_Errors.rahit",
|
||||
"spv.ClosestHitShader.rchit",
|
||||
"spv.ClosestHitShader_Errors.rchit",
|
||||
"spv.MissShader.rmiss",
|
||||
"spv.MissShader_Errors.rmiss",
|
||||
"spv.fragmentShaderBarycentric.frag",
|
||||
"spv.fragmentShaderBarycentric2.frag",
|
||||
"spv.computeShaderDerivatives.comp",
|
||||
|
||||
@@ -61,6 +61,18 @@ EShLanguage GetShaderStage(const std::string& stage)
|
||||
} else if (stage == "comp") {
|
||||
return EShLangCompute;
|
||||
#ifdef NV_EXTENSIONS
|
||||
} else if (stage == "rgen") {
|
||||
return EShLangRayGenNV;
|
||||
} else if (stage == "rint") {
|
||||
return EShLangIntersectNV;
|
||||
} else if (stage == "rahit") {
|
||||
return EShLangAnyHitNV;
|
||||
} else if (stage == "rchit") {
|
||||
return EShLangClosestHitNV;
|
||||
} else if (stage == "rmiss") {
|
||||
return EShLangMissNV;
|
||||
} else if (stage == "rcall") {
|
||||
return EShLangCallableNV;
|
||||
} else if (stage == "task") {
|
||||
return EShLangTaskNV;
|
||||
} else if (stage == "mesh") {
|
||||
|
||||
Reference in New Issue
Block a user