summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2015-02-19 19:33:43 +0000
committerNeil Roberts <[email protected]>2015-05-05 10:19:16 +0100
commit4ab8d59a23e0142239dad66155b1a7a149755325 (patch)
tree20ce875ab9e7786f41bde10acfaa6a6d94f7aeb0 /src/glsl
parentb5045e29917a783be74becee5e72566e2b0e3535 (diff)
i965/skl: Align compressed textures to four times the block size
On Skylake it is possible to choose your own alignment values for compressed textures but they are expressed as a multiple of the block size. The minimum alignment value we can use is 4 so we effectively have to align to 4 times the block size. This patch makes it initially set mt->align_[wh] to the large alignment value and then later divides it by the block size so that it can be uploaded as part of the surface state. Reviewed-by: Ben Widawsky <[email protected]>
Diffstat (limited to 'src/glsl')
0 files changed, 0 insertions, 0 deletions