|
XenevaOS
|
#include <asahi_drm.h>
Public Attributes | |
| __u32 | usc |
| __u32 | rsrc_spec |
struct drm_asahi_bg_eot - Describe a background or end-of-tile program.
The background and end-of-tile programs are dispatched by the hardware at the beginning and end of rendering. As the hardware "tilebuffer" is simply local memory, these programs are necessary to implement API-level render targets. The fragment-like background program is responsible for loading either the clear colour or the existing render target contents, while the compute-like end-of-tile program stores the tilebuffer contents to memory.
This struct is embedded in other structs and therefore is not extensible.
| __u32 drm_asahi_bg_eot::rsrc_spec |
@rsrc_spec: Resource specifier for the program. This is a packed hardware data structure describing the required number of registers, uniforms, bound textures, and bound samplers.
| __u32 drm_asahi_bg_eot::usc |
@usc: USC address of the hardware USC words binding resources (including images and uniforms) and the program itself. Note this is an additional layer of indirection compared to the helper program, avoiding the need for a sideband for data. This is a tagged pointer with additional configuration in the bottom bits.