[Mesa-dev] [PATCH 05/15] i965: Fix signedness of backend_reg::reg_offset.
Francisco Jerez
currojerez at riseup.net
Fri Mar 20 07:11:41 PDT 2015
And make it 16-bit so it packs nicely with the previous field.
---
src/mesa/drivers/dri/i965/brw_shader.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h
index f8cc98a..944a870 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.h
+++ b/src/mesa/drivers/dri/i965/brw_shader.h
@@ -77,7 +77,7 @@ struct backend_reg
*
* For uniforms, this is in units of 1 float.
*/
- int reg_offset;
+ uint16_t reg_offset;
struct brw_reg fixed_hw_reg;
--
2.1.3
More information about the mesa-dev
mailing list