[Mesa-dev] [PATCH] anv: fix assert in anv_CmdBindDescriptorSets()

2018-07-17 Thread Samuel Iglesias Gonsálvez
The assert is checking that we are not binding more descriptor sets than the supported by the driver. When binding the descriptor set number MAX_SETS-1, it was breaking the assert because descriptorSetCount = 1. Signed-off-by: Samuel Iglesias Gonsálvez --- src/intel/vulkan/anv_cmd_buffer.c | 2 +

Re: [Mesa-dev] [PATCH] anv: fix assert in anv_CmdBindDescriptorSets()

2018-07-17 Thread Lionel Landwerlin
On 17/07/18 10:48, Samuel Iglesias Gonsálvez wrote: The assert is checking that we are not binding more descriptor sets than the supported by the driver. When binding the descriptor set number MAX_SETS-1, it was breaking the assert because descriptorSetCount = 1. Signed-off-by: Samuel Iglesias G