summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2015-02-18 18:41:58 +0000
committerNeil Roberts <[email protected]>2015-04-20 22:03:21 -0700
commit7004632b28d8a31b16acc553a1fb31202767bd80 (patch)
treed1d1581f2bfdb24fe2e3a2d1da1faeaeb84cb040 /src/glsl
parent584f8e1ec56b45057b53e161233308f38e1c3b09 (diff)
i965/skl: Fix the qpitch value
On Skylake the qpitch value is uploaded as part of the surface state so we don't need to add the extra rows that are done for other generations. However for 3D textures it needs to be aligned to the tile height and for depth/stencil textures it needs to be a multiple of 8. Unlike previous generations the qpitch is measured as a multiple of the block size for compressed surfaces. When the horizontal mipmap layout is used for 1D textures then the qpitch is measured in pixels instead of rows. v2: Align the depth/stencil textures to a multiple of 8 v3: Add an assert that ALL_SLICES_AT_EACH_LOD is not used. Ignore the vertical alignment when picking the qpitch for 1D_ARRAY textures. Reviewed-by: Ben Widawsky <[email protected]> Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/glsl')
0 files changed, 0 insertions, 0 deletions