Commit db703917 authored by Connor Abbott's avatar Connor Abbott
Browse files

tu/blit: Don't set CLAMPENABLE in sampler for 3d path

This was copied from the blob before we understood what it did, and it
has questionable utility: there's nothing in the GL, Vulkan, or D3D11
specs that require the result be clamped to the underlying range to
account for imprecision. And it doesn't make sense at all for cubic
filtering, because the result can legitimately be outside the range in
some scenarios. Just remove it.

This fixes a bunch of tests added in vulkan CTS 1.2.8 to test blitting
from compressed textures, which use random inputs and therefore are more
likely to hit the out-of-range condition. For example,
parent 3c5394b6
Pipeline #487317 waiting for manual action with stages
......@@ -828,7 +828,6 @@ r3d_src_common(struct tu_cmd_buffer *cmd,
0x60000; /* XXX used by blob, doesn't seem necessary */[A6XX_TEX_CONST_DWORDS + 1] =
0x1 | /* XXX used by blob, doesn't seem necessary */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment