diff options
author | Eric Anholt <[email protected]> | 2018-12-26 20:56:49 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-01-27 08:30:03 -0800 |
commit | c496b60ed8cec0f3a9df35ee96f8765fe38853b7 (patch) | |
tree | db6d29a50efe725c9cf7d73aaf9b46d409312786 /docs/favicon.ico | |
parent | 5fe4250a2c7294d4d552759ccce43314dc61189f (diff) |
v3d: Create separate sampler states for the various blend formats.
The sampler border color is encoded in the TMU's blending format (half
floats, 32-bit floats, or integers) and must be clamped to the format's
range unorm/snorm/int ranges by the driver. Additionally, the TMU doesn't
know about how we're abusing the swizzle to support BGRA, A, and LA, so we
have to pre-swizzle the border color for those.
We don't really want to spend half a kb on sampler states in most cases,
so skip generating the variants when the border color is unused or is
0,0,0,0.
Diffstat (limited to 'docs/favicon.ico')
0 files changed, 0 insertions, 0 deletions