nir: add vbo_stride_agx
for static VS input + dynamic strides. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36271>
This commit is contained in:
committed by
Marge Bot
parent
62f855429a
commit
5403a52e4d
@@ -2225,9 +2225,11 @@ store("agx", [1, 1], [ACCESS, BASE, FORMAT, SIGN_EXTEND])
|
||||
# Logical complement of load_front_face, mapping to an AGX system value
|
||||
system_value("back_face_agx", 1, bit_sizes=[1, 32])
|
||||
|
||||
# Load the base address of an indexed vertex attribute (for lowering).
|
||||
# Load the base address/stride of an indexed vertex attribute (for lowering).
|
||||
intrinsic("load_vbo_base_agx", src_comp=[1], dest_comp=1, bit_sizes=[64],
|
||||
flags=[CAN_ELIMINATE, CAN_REORDER])
|
||||
intrinsic("load_vbo_stride_agx", src_comp=[1], dest_comp=1, bit_sizes=[32],
|
||||
flags=[CAN_ELIMINATE, CAN_REORDER])
|
||||
|
||||
# When vertex robustness is enabled, loads the maximum valid attribute index for
|
||||
# a given attribute. This is unsigned: the driver ensures that at least one
|
||||
|
||||
Reference in New Issue
Block a user