summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/pixelshader9.h
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-10-19 23:40:27 +0200
committerAxel Davy <[email protected]>2016-12-20 23:44:22 +0100
commit1a735a99d0ab4d618802e4044f068f926aaf4513 (patch)
tree411df4e4b9bde2eb4e705f9915a8c3ba45e9ad49 /src/gallium/state_trackers/nine/pixelshader9.h
parentbb62ea925a9aaebb053f0df14a9b7c995fdb6537 (diff)
st/nine: Back all ff states in nine_context
Part of the refactor to move all gallium calls to nine_state.c, and have all internal states required for those calls in nine_context. Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/pixelshader9.h')
-rw-r--r--src/gallium/state_trackers/nine/pixelshader9.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/pixelshader9.h b/src/gallium/state_trackers/nine/pixelshader9.h
index 38874dcfba7..67a18f20c42 100644
--- a/src/gallium/state_trackers/nine/pixelshader9.h
+++ b/src/gallium/state_trackers/nine/pixelshader9.h
@@ -65,7 +65,6 @@ NinePixelShader9( void *data )
static inline BOOL
NinePixelShader9_UpdateKey( struct NinePixelShader9 *ps,
- struct nine_state *state,
struct nine_context *context )
{
uint16_t samplers_shadow;
@@ -99,7 +98,7 @@ NinePixelShader9_UpdateKey( struct NinePixelShader9 *ps,
key |= ((uint64_t)1) << 34;
if (unlikely(ps->byte_code.version < 0x14)) {
- projected = nine_ff_get_projected_key(state, context);
+ projected = nine_ff_get_projected_key(context);
key |= ((uint64_t) projected) << 48;
}