mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 19:30:12 +01:00
nir: add samples_log2_agx sysval
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28483>
This commit is contained in:
parent
fbd6182549
commit
df8e52a795
1 changed files with 6 additions and 0 deletions
|
|
@ -1931,6 +1931,12 @@ system_value("api_sample_mask_agx", 1, bit_sizes=[16])
|
|||
# Loads the sample position array as fixed point packed into a 32-bit word
|
||||
system_value("sample_positions_agx", 1, bit_sizes=[32])
|
||||
|
||||
# In a fragment shader, returns the log2 of the number of samples in the
|
||||
# tilebuffer. This is the unprocessed value written in the corresponding USC
|
||||
# word. Used to determine whether sample mask writes have any effect when sample
|
||||
# count is dynamic.
|
||||
system_value("samples_log2_agx", 1, bit_sizes=[16])
|
||||
|
||||
# Loads the fixed-function glPointSize() value, or zero if the
|
||||
# shader-supplied value should be used.
|
||||
system_value("fixed_point_size_agx", 1, bit_sizes=[32])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue