We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e54304 commit 6f04245Copy full SHA for 6f04245
src/index.js
@@ -75,7 +75,6 @@ export default function glslOptimize(userOptions = {}) {
75
const stage = stageRegexes.find(([, regex]) => id.match(regex))?.[0];
76
if (!stage) {
77
this.error({ message: `File '${id}' : extension did not match a shader stage.` });
78
- return;
79
}
80
81
try {
@@ -84,7 +83,6 @@ export default function glslOptimize(userOptions = {}) {
84
83
return result;
85
} catch (err) {
86
this.error({ message: `Error processing GLSL source:\n${err.message}` });
87
88
89
},
90
};
0 commit comments