diff options
author | Axel Davy <[email protected]> | 2015-05-12 21:56:04 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-08-21 22:21:47 +0200 |
commit | 8f39ffc11e8b6fdf7c940f9c1853a362a886977a (patch) | |
tree | 8a8df571e545e5593dd219fb5dda7442bec35a68 /src/gallium/state_trackers/nine/vertexshader9.h | |
parent | 69de5d626f2e67e74e4de94ce13f7ac50fa52161 (diff) |
st/nine: Finish Fog implementation
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/vertexshader9.h')
-rw-r--r-- | src/gallium/state_trackers/nine/vertexshader9.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/vertexshader9.h b/src/gallium/state_trackers/nine/vertexshader9.h index 6cf7749e0ac..d5720157cc0 100644 --- a/src/gallium/state_trackers/nine/vertexshader9.h +++ b/src/gallium/state_trackers/nine/vertexshader9.h @@ -80,6 +80,9 @@ NineVertexShader9_UpdateKey( struct NineVertexShader9 *vs, samplers_shadow &= vs->sampler_mask; key = samplers_shadow; + if (vs->byte_code.version < 0x30) + key |= state->rs[D3DRS_FOGENABLE] << 8; + res = vs->last_key != key; if (res) vs->next_key = key; |