diff options
author | Axel Davy <[email protected]> | 2015-05-10 12:01:10 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-08-21 22:21:47 +0200 |
commit | cb0816c0f6e2ccf81cbb433206b616f4662a803a (patch) | |
tree | 592f996d7bc4613eeabf216813a3667673fa54d3 | |
parent | dd4802c8deedc0b2bad7d361c487761be31f2b56 (diff) |
st/nine: Fix nine_ff_ps_key padding
Signed-off-by: Axel Davy <[email protected]>
-rw-r--r-- | src/gallium/state_trackers/nine/nine_ff.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/nine_ff.c b/src/gallium/state_trackers/nine/nine_ff.c index 9638d9c9c42..4428ce6a19f 100644 --- a/src/gallium/state_trackers/nine/nine_ff.c +++ b/src/gallium/state_trackers/nine/nine_ff.c @@ -113,10 +113,12 @@ struct nine_ff_ps_key } ts[8]; uint32_t fog : 1; /* for vFog coming from VS */ uint32_t fog_mode : 2; - uint32_t specular : 1; /* 9 32-bit words with this */ + uint32_t specular : 1; + uint32_t pad1 : 28;/* 9 32-bit words with this */ uint8_t colorarg_b4[3]; uint8_t colorarg_b5[3]; uint8_t alphaarg_b4[3]; /* 11 32-bit words plus a byte */ + uint8_t pad2[3]; }; uint64_t value64[6]; /* don't forget to resize PixelShader9.ff_key */ uint32_t value32[12]; |