diff options
author | Jason Ekstrand <[email protected]> | 2017-07-11 15:32:30 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-09-20 17:21:06 -0700 |
commit | 772b07d91e5b23c45db9e29b01e41038fc47d595 (patch) | |
tree | 51cb339b1f6648d60aa108588dd386985d17e452 /src/compiler/glsl/ir.h | |
parent | 64f2aabcec0358d62521f2348afa4525066d82fd (diff) |
anv/image: Use RENDER_SURFACE_STATE::X/Y Offset on SKL+
The Broadwell method of handling uncompressed views of compressed
textures was to make the texture linear and have a tiled shadow copy.
This isn't needed on Sky Lake because the HALIGN and VALIGN parameters
are specified in surface elements and required to be a multiple of 4.
This means that we can just use the X/Y Offset fields and we can avoid
the shadow copy song and dance. This also makes ASTC work because ASTC
can't be linear and so the shadow copy method doesn't work there.
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir.h')
0 files changed, 0 insertions, 0 deletions