crocus/gen8: fix wrap mode needs border color.
missing piece here. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11821>
This commit is contained in:
parent
dd98918a5a
commit
ead3340262
|
@ -2226,7 +2226,11 @@ crocus_bind_rasterizer_state(struct pipe_context *ctx, void *state)
|
|||
static bool
|
||||
wrap_mode_needs_border_color(unsigned wrap_mode)
|
||||
{
|
||||
#if GFX_VER == 8
|
||||
return wrap_mode == TCM_CLAMP_BORDER || wrap_mode == TCM_HALF_BORDER;
|
||||
#else
|
||||
return wrap_mode == TCM_CLAMP_BORDER;
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue