mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
ir3: make shader output struct non-anonymous
Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31222>
This commit is contained in:
parent
b8b3fe20b2
commit
39206c1150
1 changed files with 8 additions and 6 deletions
|
|
@ -614,6 +614,13 @@ struct ir3_shader_options {
|
|||
bool fragdata_dynamic_remap;
|
||||
};
|
||||
|
||||
struct ir3_shader_output {
|
||||
uint8_t slot;
|
||||
uint8_t regid;
|
||||
uint8_t view;
|
||||
bool half : 1;
|
||||
};
|
||||
|
||||
/**
|
||||
* Shader variant which contains the actual hw shader instructions,
|
||||
* and necessary info for shader state setup.
|
||||
|
|
@ -737,12 +744,7 @@ struct ir3_shader_variant {
|
|||
|
||||
/* varyings/outputs: */
|
||||
unsigned outputs_count;
|
||||
struct {
|
||||
uint8_t slot;
|
||||
uint8_t regid;
|
||||
uint8_t view;
|
||||
bool half : 1;
|
||||
} outputs[32 + 2]; /* +POSITION +PSIZE */
|
||||
struct ir3_shader_output outputs[32 + 2]; /* +POSITION +PSIZE */
|
||||
bool writes_pos, writes_smask, writes_psize, writes_viewport, writes_stencilref;
|
||||
bool writes_shading_rate;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue