compiler: Add a system value for the line coord
The line coord is a coordinate along the axis perpendicular to the line. It is in the range [0,1] between the two edges of the line. It is available at least on Broadcom hardware. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5624>
This commit is contained in:
@@ -228,6 +228,7 @@ gl_system_value_name(gl_system_value sysval)
|
||||
ENUM(SYSTEM_VALUE_INVOCATION_ID),
|
||||
ENUM(SYSTEM_VALUE_FRAG_COORD),
|
||||
ENUM(SYSTEM_VALUE_POINT_COORD),
|
||||
ENUM(SYSTEM_VALUE_LINE_COORD),
|
||||
ENUM(SYSTEM_VALUE_FRONT_FACE),
|
||||
ENUM(SYSTEM_VALUE_SAMPLE_ID),
|
||||
ENUM(SYSTEM_VALUE_SAMPLE_POS),
|
||||
|
Reference in New Issue
Block a user