v3d: Handle the line width intrinsics
Adds new QUNIFORMs to store the line widths. v2: Also handle the aa_line_width intrinsic Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5624>
This commit is contained in:
@@ -261,6 +261,13 @@ enum quniform_contents {
|
||||
|
||||
QUNIFORM_ALPHA_REF,
|
||||
|
||||
QUNIFORM_LINE_WIDTH,
|
||||
|
||||
/* The line width sent to hardware. This includes the expanded width
|
||||
* when anti-aliasing is enabled.
|
||||
*/
|
||||
QUNIFORM_AA_LINE_WIDTH,
|
||||
|
||||
/* Number of workgroups passed to glDispatchCompute in the dimension
|
||||
* selected by the data value.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user