mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
nir: add interpolation qualifiers for color sysvals into shader_info
needed by radeonsi Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6442>
This commit is contained in:
parent
4d36dceeab
commit
7980f3e519
1 changed files with 11 additions and 0 deletions
|
|
@ -307,6 +307,17 @@ typedef struct shader_info {
|
|||
|
||||
/** gl_FragDepth layout for ARB_conservative_depth. */
|
||||
enum gl_frag_depth_layout depth_layout:3;
|
||||
|
||||
/**
|
||||
* Interpolation qualifiers for drivers that lowers color inputs
|
||||
* to system values.
|
||||
*/
|
||||
unsigned color0_interp:3; /* glsl_interp_mode */
|
||||
bool color0_sample:1;
|
||||
bool color0_centroid:1;
|
||||
unsigned color1_interp:3; /* glsl_interp_mode */
|
||||
bool color1_sample:1;
|
||||
bool color1_centroid:1;
|
||||
} fs;
|
||||
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue