diff options
author | Eric Anholt <eric@anholt.net> | 2010-06-15 17:58:14 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-12-09 10:51:00 -0800 |
commit | 30f25a10190632a971e2b214c443e54afa463ead (patch) | |
tree | ca30b1f2906b289e5d1ff8892c03a8891df517bb /src/mesa/drivers/dri/i965/brw_structs.h | |
parent | 14a9153a32255f186a30b500d6db412388f4de28 (diff) |
i965: Set up the correct texture border color state struct for Ironlake.
This doesn't actually fix border color on Ironlake, but it appears to
be a requirement, and gen6 needs it too.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_structs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_structs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_structs.h b/src/mesa/drivers/dri/i965/brw_structs.h index 8f97bd136f..0e1f3c9bb8 100644 --- a/src/mesa/drivers/dri/i965/brw_structs.h +++ b/src/mesa/drivers/dri/i965/brw_structs.h @@ -1064,6 +1064,15 @@ struct brw_sampler_default_color { GLfloat color[4]; }; +struct gen5_sampler_default_color { + uint8_t ub[4]; + float f[4]; + uint16_t hf[4]; + uint16_t us[4]; + int16_t s[4]; + uint8_t b[4]; +}; + struct brw_sampler_state { |