mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/fx: Handle 'single' modifier for buffers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
e0ef45c0a3
commit
948cd2154a
Notes:
Alexandre Julliard
2024-03-12 22:58:37 +01:00
Approved-by: Matteo Bruni (@Mystral) Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/701
@ -799,7 +799,8 @@ static void write_fx_4_buffer(struct hlsl_buffer *b, struct fx_write_context *fx
|
||||
bind_point = b->reservation.reg_index;
|
||||
if (b->type == HLSL_BUFFER_TEXTURE)
|
||||
flags |= IS_TBUFFER;
|
||||
/* FIXME: set 'single' flag for fx_5_0 */
|
||||
if (ctx->profile->major_version == 5 && b->modifiers & HLSL_MODIFIER_SINGLE)
|
||||
flags |= IS_SINGLE;
|
||||
|
||||
name_offset = write_string(b->name, fx);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user