diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-06-17 14:26:08 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-06-18 09:59:28 -0700 |
commit | 83c02a5ea99cd1c9b196cb79f00e6dda5ffe738c (patch) | |
tree | ee49ab242b63c1812cffa5ee5ffd7ce78628ef61 /src/gallium/drivers/lima | |
parent | bfca21b622dfd2fcfe32494339aea9061070c7e5 (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