diff options
author | Marek Olšák <[email protected]> | 2017-05-30 22:18:40 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-07 18:10:50 +0200 |
commit | 4a88c7774cfae0da9f0819771efdbfb881f8af6c (patch) | |
tree | a904f8e738de8649ea95284d105f8d435a412050 /src/mapi/stub.c | |
parent | 06045685272afbbe46d76ee16c7ad486c9972447 (diff) |
gallium/u_blitter: use TXF if possible
This fixes piglit:
arb_texture_view-rendering-r32ui
TEX (image_sample) flushes denorms to 0 with FP32 textures on GCN, but such
a texture can contain integer data written using an integer render view.
If we do a transfer blit with TEX, denorms are flushed to 0. Luckily,
TXF (image_load) doesn't do that.
TXF also doesn't need to load the sampler state, so blit shaders don't have
to do s_load_dwordx4.
TXF doesn't do CLAMP_TO_EDGE, so it can only be used if the src box is
in bounds, or if we clamp manually (this commit doesn't).
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mapi/stub.c')
0 files changed, 0 insertions, 0 deletions