mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
st/nine: Disable seamless cubemap for d3d
d3d9 doesn't have seamless cubemap. Signed-off-by: Axel Davy <axel.davy@ens.fr>
This commit is contained in:
parent
f0ec54ee32
commit
9ff0dc3129
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue