diff options
author | Axel Davy <[email protected]> | 2015-05-14 01:27:33 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-08-21 22:21:48 +0200 |
commit | 4a00e4cdc970582df338ebf880168a4ef4ec05d9 (patch) | |
tree | 723eb1477cdae122d7a9b02a82256ca948bf5db1 /src/gallium/state_trackers/nine/nine_state.c | |
parent | b7261528ea964f6cba3173f72608c1afc0750d6b (diff) |
st/nine: Programmable ps D3DTTSS_PROJECTED support
The implementation used Wine tests for conformance
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/nine_state.c')
-rw-r--r-- | src/gallium/state_trackers/nine/nine_state.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/nine_state.c b/src/gallium/state_trackers/nine/nine_state.c index e185b025134..a4392171f2c 100644 --- a/src/gallium/state_trackers/nine/nine_state.c +++ b/src/gallium/state_trackers/nine/nine_state.c @@ -961,7 +961,8 @@ commit_ps(struct NineDevice9 *device) NINE_STATE_BLEND_COLOR | \ NINE_STATE_STENCIL_REF | \ NINE_STATE_SAMPLE_MASK | \ - NINE_STATE_FOG_SHADER) + NINE_STATE_FOG_SHADER | \ + NINE_STATE_PS1X_SHADER) #define NINE_STATE_FREQ_GROUP_1 ~NINE_STATE_FREQ_GROUP_0 @@ -1032,7 +1033,7 @@ nine_update_state(struct NineDevice9 *device) if (group & NINE_STATE_RASTERIZER) prepare_rasterizer(device); - if (group & (NINE_STATE_PS | NINE_STATE_TEXTURE | NINE_STATE_FOG_SHADER)) + if (group & (NINE_STATE_PS | NINE_STATE_TEXTURE | NINE_STATE_FOG_SHADER | NINE_STATE_PS1X_SHADER)) group |= prepare_ps(device, (group & NINE_STATE_PS) != 0); if (group & NINE_STATE_BLEND_COLOR) { |