mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader: Exclude descriptor arrays from push constant buffer searches.
Signed-off-by: Conor McCarthy <cmccarthy@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5bebfe264d
commit
e1b334aff8
@ -2433,6 +2433,9 @@ static struct vkd3d_push_constant_buffer_binding *vkd3d_dxbc_compiler_find_push_
|
||||
unsigned int reg_idx = cb->range.first;
|
||||
unsigned int i;
|
||||
|
||||
if (cb->range.first != cb->range.last)
|
||||
return NULL;
|
||||
|
||||
for (i = 0; i < compiler->shader_interface.push_constant_buffer_count; ++i)
|
||||
{
|
||||
struct vkd3d_push_constant_buffer_binding *current = &compiler->push_constants[i];
|
||||
|
Loading…
Reference in New Issue
Block a user