|
XenevaOS
|
#include <asahi_drm.h>
Public Attributes | |
| __u64 | base |
| __u64 | comp_base |
| __u32 | stride |
| __u32 | comp_stride |
struct drm_asahi_zls_buffer - Describe a depth or stencil buffer.
These fields correspond to hardware registers in the ZLS (Z Load/Store) unit. There are three hardware registers for each field respectively for loads, stores, and partial renders. In practice, it makes sense to set all to the same values, except in exceptional cases not yet implemented in userspace, so we do not duplicate here for simplicity/efficiency.
This struct is embedded in other structs and therefore is not extensible.
| __u64 drm_asahi_zls_buffer::base |
@base: Base address of the buffer
| __u64 drm_asahi_zls_buffer::comp_base |
@comp_base: If the load buffer is compressed, address of the compression metadata section.
| __u32 drm_asahi_zls_buffer::comp_stride |
@comp_stride: If layered rendering is enabled, the number of bytes between each layer of the compression metadata.
| __u32 drm_asahi_zls_buffer::stride |
@stride: If layered rendering is enabled, the number of bytes between each layer of the buffer.