summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-06-17 14:26:08 -0700
committerAlyssa Rosenzweig <[email protected]>2019-06-18 09:59:28 -0700
commit83c02a5ea99cd1c9b196cb79f00e6dda5ffe738c (patch)
treeee49ab242b63c1812cffa5ee5ffd7ce78628ef61 /src/gallium/drivers/lima
parentbfca21b622dfd2fcfe32494339aea9061070c7e5 (diff)
panfrost: Refactor texture targets
This combines the two cmdstream bits "is_3d" and "is_not_cubemap" into a single 2-bit texture target selection, noticing it's the same as the 2-bit selection in Midgard and Bifrost texturing ops. Accordingly, we share this definition and add the missing entry for 1D/buffer textures. This requires a nontrivial (but functionally similar) refactor of all parts of the driver to use the new definitions appropriately. Theoretically, this should add support for buffer textures, but that's obviously not tested and probably wouldn't work. While doing so, we notice the sRGB enable bit, which we document and decode as well here so we don't forget about it. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima')
0 files changed, 0 insertions, 0 deletions