Add-support-for-SPV_NV_mesh_shader
This commit is contained in:
@@ -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