zink: always init bordercolor value for sampler
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12574>
This commit is contained in:
committed by
Marge Bot
parent
b192b9c88a
commit
336dea90f0
@@ -345,7 +345,8 @@ zink_create_sampler_state(struct pipe_context *pctx,
|
||||
assert(check <= screen->info.border_color_props.maxCustomBorderColorSamplers);
|
||||
} else
|
||||
sci.borderColor = VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK; // TODO with custom shader if we're super interested?
|
||||
}
|
||||
} else
|
||||
sci.borderColor = VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK;
|
||||
|
||||
sci.unnormalizedCoordinates = !state->normalized_coords;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user