vkd3d-shader/hlsl: Emit RDEF metadata for SRV structured buffers.

This commit is contained in:
Victor Chiletto
2025-03-05 03:45:33 -03:00
committed by Henri Verbeet
parent ba4027f18e
commit d5fdfa5f79
Notes: Henri Verbeet 2025-09-04 14:11:02 +02:00
Approved-by: Francisco Casas (@fcasas)
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1699
2 changed files with 148 additions and 30 deletions

View File

@@ -233,6 +233,9 @@ struct hlsl_type
/* Offset where the type's description starts in the output bytecode, in bytes. */
size_t bytecode_offset;
/* Offset where the type's packed description starts in the output bytecode, in bytes. */
size_t packed_bytecode_offset;
bool is_typedef;
uint32_t is_minimum_precision : 1;