diff options
author | Francisco Jerez <[email protected]> | 2015-03-19 16:03:57 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-03-23 14:09:32 +0200 |
commit | eb9bd3a1b0d6c518f9a38d81c0729feb38474f5a (patch) | |
tree | b14d1f6a75b98ba5802c61625d81e421abbeb918 /src/mesa/drivers/dri/i965/brw_shader.h | |
parent | 7e816c7feb8cffa878546eee363240b1b66d5c42 (diff) |
i965: Fix signedness of backend_reg::reg_offset.
And make it 16-bit so it packs nicely with the previous field.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_shader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h index f8cc98afd91..944a8701aa3 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; |