mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
nir: Add intrinsics for hit attribute io
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19866>
This commit is contained in:
parent
5bfc4c293f
commit
36125598c8
1 changed files with 5 additions and 0 deletions
|
|
@ -1474,6 +1474,11 @@ intrinsic("execute_closest_hit_amd", src_comp=[1, 1, 1, 1, 1, 1])
|
|||
# 0. Ray Tmax
|
||||
intrinsic("execute_miss_amd", src_comp=[1])
|
||||
|
||||
# Used for saving and restoring hit attribute variables.
|
||||
# BASE=dword index
|
||||
intrinsic("load_hit_attrib_amd", dest_comp=1, bit_sizes=[32], indices=[BASE])
|
||||
intrinsic("store_hit_attrib_amd", src_comp=[1], indices=[BASE])
|
||||
|
||||
# Load forced VRS rates.
|
||||
intrinsic("load_force_vrs_rates_amd", dest_comp=1, bit_sizes=[32], flags=[CAN_ELIMINATE, CAN_REORDER])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue