[Mesa-dev] [PATCH 03/11] i965/vec4: use attribute slots for first non payload GRF
Juan A. Suarez Romero
jasuarez at igalia.com
Mon Jan 9 17:10:01 UTC 2017
From: Alejandro PiƱeiro <apinheiro at igalia.com>
---
src/mesa/drivers/dri/i965/brw_vec4.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index 5ddbe58..f80162d 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -1757,7 +1757,7 @@ vec4_vs_visitor::setup_attributes(int payload_reg)
lower_attributes_to_hw_regs(attribute_map, false /* interleaved */);
- return payload_reg + vs_prog_data->nr_attributes;
+ return payload_reg + vs_prog_data->nr_attribute_slots;
}
int
--
2.9.3
More information about the mesa-dev
mailing list