diff options
author | Axel Davy <[email protected]> | 2016-10-19 21:08:57 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-12-20 23:44:20 +0100 |
commit | 638b70985d97fddd4c34940de6720fe1d9847b26 (patch) | |
tree | 04d1109d5509ed22bbe108a8869434964e225863 /src/gallium/state_trackers | |
parent | d38215fb175140050c721a357c0982377ce423bb (diff) |
st/nine: Fix ps multisample check
We want to use centroid for nonmaskable
multisampling as well.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/nine/pixelshader9.h | 2 |
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 9a615b7b205..9ff3d51e977 100644 --- a/src/gallium/state_trackers/nine/pixelshader9.h +++ b/src/gallium/state_trackers/nine/pixelshader9.h @@ -94,7 +94,7 @@ NinePixelShader9_UpdateKey( struct NinePixelShader9 *ps, } /* centroid interpolation automatically used for color ps inputs */ - if (state->rt[0]->desc.MultiSampleType > 1) + if (state->rt[0]->base.info.nr_samples) key |= ((uint64_t)1) << 34; if (unlikely(ps->byte_code.version < 0x14)) { |