summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/pixelshader9.h
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-10-19 21:38:47 +0200
committerAxel Davy <[email protected]>2016-12-20 23:44:22 +0100
commit7f6e01052b77ee825ec681ee5d9b65f5d182ca4f (patch)
tree4ab349c4de4ffbeb243bc9cc1f68710387b26f32 /src/gallium/state_trackers/nine/pixelshader9.h
parentaafbd62955f279172b0b57c3fd2b82da54f8035f (diff)
st/nine: Back RT to 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/pixelshader9.h b/src/gallium/state_trackers/nine/pixelshader9.h
index d9f55b4e5fa..38874dcfba7 100644
--- a/src/gallium/state_trackers/nine/pixelshader9.h
+++ b/src/gallium/state_trackers/nine/pixelshader9.h
@@ -95,7 +95,7 @@ NinePixelShader9_UpdateKey( struct NinePixelShader9 *ps,
}
/* centroid interpolation automatically used for color ps inputs */
- if (state->rt[0]->base.info.nr_samples)
+ if (context->rt[0]->base.info.nr_samples)
key |= ((uint64_t)1) << 34;
if (unlikely(ps->byte_code.version < 0x14)) {