diff options
-rw-r--r-- | src/mesa/shader/slang/slang_link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c index 6114b7c2520..008b7ab3699 100644 --- a/src/mesa/shader/slang/slang_link.c +++ b/src/mesa/shader/slang/slang_link.c @@ -566,7 +566,7 @@ add_varying_binding (slang_varying_bindings *self, slang_export_data_quant *q, c } } - if (self->slot_count + slot_span > MAX_VARYING_FLOATS) { + if (self->slot_count + slot_span > MAX_VARYING * 4) { /* TODO: info log: error: MAX_VARYING_FLOATS exceeded */ return GL_FALSE; } |