XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_asahi_zls_buffer Struct Reference

#include <asahi_drm.h>

Public Attributes

__u64 base
 
__u64 comp_base
 
__u32 stride
 
__u32 comp_stride
 

Detailed Description

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.

Member Data Documentation

◆ base

__u64 drm_asahi_zls_buffer::base

@base: Base address of the buffer

◆ comp_base

__u64 drm_asahi_zls_buffer::comp_base

@comp_base: If the load buffer is compressed, address of the compression metadata section.

◆ comp_stride

__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.

◆ stride

__u32 drm_asahi_zls_buffer::stride

@stride: If layered rendering is enabled, the number of bytes between each layer of the buffer.


The documentation for this struct was generated from the following file: