mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/d3dbc: Avoid D3DXSHADER_CONSTANTTABLE.
This commit is contained in:
parent
069b8aac64
commit
47fcbc335b
Notes:
Henri Verbeet
2024-10-16 21:47:34 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1186
@ -1780,7 +1780,7 @@ void write_sm1_uniforms(struct hlsl_ctx *ctx, struct vkd3d_bytecode_buffer *buff
|
||||
size_offset = put_u32(buffer, 0);
|
||||
ctab_offset = put_u32(buffer, VKD3D_MAKE_TAG('C','T','A','B'));
|
||||
|
||||
ctab_start = put_u32(buffer, sizeof(D3DXSHADER_CONSTANTTABLE));
|
||||
ctab_start = put_u32(buffer, 7 * sizeof(uint32_t)); /* CTAB header size. */
|
||||
creator_offset = put_u32(buffer, 0);
|
||||
put_u32(buffer, sm1_version(ctx->profile->type, ctx->profile->major_version, ctx->profile->minor_version));
|
||||
put_u32(buffer, uniform_count);
|
||||
|
Loading…
Reference in New Issue
Block a user