Add-support-for-SPV_NV_mesh_shader
This commit is contained in:
@@ -506,6 +506,13 @@ INSTANTIATE_TEST_CASE_P(
|
||||
"spv.computeShaderDerivatives.comp",
|
||||
"spv.computeShaderDerivatives2.comp",
|
||||
"spv.shaderImageFootprint.frag",
|
||||
"spv.meshShaderBuiltins.mesh",
|
||||
"spv.meshShaderUserDefined.mesh",
|
||||
"spv.meshShaderPerViewBuiltins.mesh",
|
||||
"spv.meshShaderPerViewUserDefined.mesh",
|
||||
"spv.meshShaderSharedMem.mesh",
|
||||
"spv.meshShaderTaskMem.mesh",
|
||||
"spv.meshTaskShader.task",
|
||||
})),
|
||||
FileNameAsCustomTestSuffix
|
||||
);
|
||||
|
||||
@@ -60,6 +60,12 @@ EShLanguage GetShaderStage(const std::string& stage)
|
||||
return EShLangFragment;
|
||||
} else if (stage == "comp") {
|
||||
return EShLangCompute;
|
||||
#ifdef NV_EXTENSIONS
|
||||
} else if (stage == "task") {
|
||||
return EShLangTaskNV;
|
||||
} else if (stage == "mesh") {
|
||||
return EShLangMeshNV;
|
||||
#endif
|
||||
} else {
|
||||
assert(0 && "Unknown shader stage");
|
||||
return EShLangCount;
|
||||
|
||||
Reference in New Issue
Block a user