Remove old post-process shader pipeline (#1631)
This commit is contained in:
@@ -239,8 +239,7 @@ public:
|
||||
}
|
||||
|
||||
ShaderExtractor extractor(Backend::OPENGL, result->package, result->packageSize);
|
||||
if (!extractor.parse() ||
|
||||
(!extractor.isShadingMaterial() && !extractor.isPostProcessMaterial())) {
|
||||
if (!extractor.parse()) {
|
||||
return error(__LINE__);
|
||||
}
|
||||
|
||||
@@ -255,8 +254,7 @@ public:
|
||||
|
||||
if (vkindex[0]) {
|
||||
ShaderExtractor extractor(Backend::VULKAN, result->package, result->packageSize);
|
||||
if (!extractor.parse() ||
|
||||
(!extractor.isShadingMaterial() && !extractor.isPostProcessMaterial())) {
|
||||
if (!extractor.parse()) {
|
||||
return error(__LINE__);
|
||||
}
|
||||
|
||||
@@ -297,8 +295,7 @@ public:
|
||||
|
||||
if (metalindex[0]) {
|
||||
ShaderExtractor extractor(Backend::METAL, result->package, result->packageSize);
|
||||
if (!extractor.parse() ||
|
||||
(!extractor.isShadingMaterial() && !extractor.isPostProcessMaterial())) {
|
||||
if (!extractor.parse()) {
|
||||
return error(__LINE__);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user