diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h index f3d92a27091..b9292e873d1 100644 --- a/src/compiler/shader_info.h +++ b/src/compiler/shader_info.h @@ -34,6 +34,7 @@ extern "C" { #endif +#define MAX_XFB_BUFFERS 4 #define MAX_INLINABLE_UNIFORMS 4 struct spirv_supported_capabilities { @@ -231,6 +232,9 @@ typedef struct shader_info { */ uint16_t workgroup_size[3]; + /* Transform feedback buffer strides in dwords, max. 1K - 4. */ + uint8_t xfb_stride[MAX_XFB_BUFFERS]; + uint16_t inlinable_uniform_dw_offsets[MAX_INLINABLE_UNIFORMS]; uint8_t num_inlinable_uniforms:4;