mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-26 00:20:37 +02:00
nir: Add r600 specific intrinsic for loading the tesselation coords
Only the XY pair is provided directly, the Z value has to be deducted from the primitive type. Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9373>
This commit is contained in:
parent
6f4c4df6c2
commit
81b41e0c76
1 changed files with 3 additions and 0 deletions
|
|
@ -1119,6 +1119,9 @@ system_value("tcs_out_param_base_r600", 4)
|
|||
system_value("tcs_rel_patch_id_r600", 1)
|
||||
system_value("tcs_tess_factor_base_r600", 1)
|
||||
|
||||
# the tess coords come as xy only, z has to be calculated
|
||||
system_value("tess_coord_r600", 2)
|
||||
|
||||
# load as many components as needed giving per-component addresses
|
||||
intrinsic("load_local_shared_r600", src_comp=[0], dest_comp=0, indices = [], flags = [CAN_ELIMINATE])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue