panfrost: Support linear depth textures

Graphics / Mesa 3D Graphics Library / Mesa - Alyssa Rosenzweig [] - 12 March 2019 02:37 EDT

This combination has not yet been seen "in the wild" in traces, but to support linear depth FBOs, ~bruteforce reveals this bit pattern is necessary. It's not yet clear why the meanings of 0x1 and 0x2 are essentially flipped (tiled vs linear for colour, linear vs some sort of tiled for depth).

2df4537f911 panfrost: Support linear depth textures
src/gallium/drivers/panfrost/pan_context.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)


  • Share