diff options
author | Axel Davy <[email protected]> | 2016-04-17 19:14:35 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-10-10 23:43:49 +0200 |
commit | 9ff0dc31296fe8b40689948101ba2eb6e56a3755 (patch) | |
tree | 6bdf174aab4399d4aeadc3cf38346786583d1d1a /src/gallium | |
parent | f0ec54ee32ddb2012eb2c74c47687e48306aa640 (diff) |
st/nine: Disable seamless cubemap for d3d
d3d9 doesn't have seamless cubemap.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/nine/device9.c | 2 | ||||
-rw-r--r-- | src/gallium/state_trackers/nine/nine_pipe.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/state_trackers/nine/device9.c index 68d2185b0ba..b914c99b78d 100644 --- a/src/gallium/state_trackers/nine/device9.c +++ b/src/gallium/state_trackers/nine/device9.c @@ -406,7 +406,7 @@ NineDevice9_ctor( struct NineDevice9 *This, samp.compare_mode = PIPE_TEX_COMPARE_NONE; samp.compare_func = PIPE_FUNC_LEQUAL; samp.normalized_coords = 1; - samp.seamless_cube_map = 1; + samp.seamless_cube_map = 0; This->dummy_sampler_state = samp; } diff --git a/src/gallium/state_trackers/nine/nine_pipe.c b/src/gallium/state_trackers/nine/nine_pipe.c index c1814fe88e0..ea7dc167ec3 100644 --- a/src/gallium/state_trackers/nine/nine_pipe.c +++ b/src/gallium/state_trackers/nine/nine_pipe.c @@ -231,7 +231,7 @@ nine_convert_sampler_state(struct cso_context *ctx, int idx, const DWORD *ss) samp.compare_mode = ss[NINED3DSAMP_SHADOW] ? PIPE_TEX_COMPARE_R_TO_TEXTURE : PIPE_TEX_COMPARE_NONE; samp.compare_func = PIPE_FUNC_LEQUAL; samp.normalized_coords = 1; - samp.seamless_cube_map = 1; + samp.seamless_cube_map = 0; d3dcolor_to_pipe_color_union(&samp.border_color, ss[D3DSAMP_BORDERCOLOR]); /* see nine_state.h */ |