Skip to content

Commit c861bc7

Browse files
committed
fixup! drm/asahi: Add the Asahi driver UAPI
Add bindless samplers
1 parent b6dbc85 commit c861bc7

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

include/uapi/drm/asahi_drm.h

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
extern "C" {
1717
#endif
1818

19-
#define DRM_ASAHI_UNSTABLE_UABI_VERSION 10008
19+
#define DRM_ASAHI_UNSTABLE_UABI_VERSION 10009
2020

2121
#define DRM_ASAHI_GET_PARAMS 0x00
2222
#define DRM_ASAHI_VM_CREATE 0x01
@@ -366,6 +366,14 @@ struct drm_asahi_cmd_render {
366366
__u64 depth_bias_array;
367367
__u64 visibility_result_buffer;
368368

369+
__u64 vertex_sampler_array;
370+
__u32 vertex_sampler_count;
371+
__u32 vertex_sampler_max;
372+
373+
__u64 fragment_sampler_array;
374+
__u32 fragment_sampler_count;
375+
__u32 fragment_sampler_max;
376+
369377
__u64 zls_ctrl;
370378
__u64 ppp_multisamplectl;
371379
__u32 ppp_ctrl;
@@ -489,6 +497,10 @@ struct drm_asahi_cmd_compute {
489497
__u32 encoder_id;
490498
__u32 cmd_id;
491499

500+
__u64 sampler_array;
501+
__u32 sampler_count;
502+
__u32 sampler_max;
503+
492504
__u32 iogpu_unk_40;
493505
__u32 unk_mask;
494506
};

0 commit comments

Comments
 (0)