fix(core): compare fragment input indices against maxInterStageShaderVariables directly, not max_fragment_input_variables

This commit is contained in:
Erich Gubler authored and Andy Leiserson committed 2026-01-05 14:59:38 -08:00
1 parent 3ce7366a2e
commit cd271a6be7
1 file changed
+1 -1
+1 -1
View File
@@ -1597,7 +1597,7 @@ impl Interface {
for output in entry_point.inputs.iter() {
match *output {
Varying::Local { ref iv, location } => {
if location >= max_fragment_shader_input_variables {
if location >= self.limits.max_inter_stage_shader_variables {
return Err(StageError::FragmentInputLocationTooLarge {
location,
var: iv.clone(),