Skip to content

Revert "zink: always init bordercolor value for sampler"

Erik Faye-Lund requested to merge kusma/mesa:zink-revert-mr-12574 into main

This reverts commit 336dea90.

This change was incorrect for two reasons:

  1. We already initialize this field on line 334
  2. Unconditionally setting this to VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK breaks rendering with e.g opaque white borders, because we've already matched those to a non-custom enum value first.
Edited by Erik Faye-Lund

Merge request reports