OSDN Git Service

panfrost: Document "depth-buffer writeback" bit
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 9 Mar 2019 00:12:07 +0000 (00:12 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 12 Mar 2019 02:37:42 +0000 (02:37 +0000)
commite57ea53acf14ef8285e713f279b6c61d6b07a35d
tree32cf1d1533e1a8682b58fa7ed55e05060fa16df9
parent2df4537f911178e545e78aab9f3b37bb72438c00
panfrost: Document "depth-buffer writeback" bit

This bit, if set, causes the depth buffer to be copied from GPU tile
memory to the provided depth buffer in main memory. If not set, the GPU
will not access the main memory (saving considerable memory bandwidth if
depth results are not actually used).

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/include/panfrost-job.h
src/gallium/drivers/panfrost/pan_context.c