If pPhysicalDevices is too small for all physical devices,
the driver must return VK_INCOMPLETE. Since only a single
physical device is supported, this is only the case when
pPhysicalDeviceCount == 0 && pPhysicalDevices != NULL.
---
src/amd/vulkan/radv_device.c | 2 ++
1 file changed, 2 insertions
On Wed, Oct 12, 2016 at 10:32 AM, Emil Velikov wrote:
> Hi Nicolas,
>
> On 6 October 2016 at 20:21, Nicolas Koch wrote:
>> If pPhysicalDevices is too small for all physical devices,
>> the driver must return VK_INCOMPLETE.
>> Since only a single physical device is
It's been a few days. Is anybody willing to push this?
On Thu, Oct 6, 2016 at 11:25 PM, Anuj Phogat wrote:
> On Thu, Oct 6, 2016 at 12:21 PM, Nicolas Koch wrote:
>> If pPhysicalDevices is too small for all physical devices,
>> the driver must return VK_INCOMPLETE.
&g
If pPhysicalDevices is too small for all physical devices,
the driver must return VK_INCOMPLETE.
Since only a single physical device is supported, this is only the case
when pPhysicalDeviceCount == 0 && pPhysicalDevices != NULL.
---
src/intel/vulkan/anv_device.c | 2 ++
1 file changed, 2 insertion
Previously, the heap size of a physical device was kind of useless
because it was not enforced.
Now, we keep track of allocation sizes so that the sum of
all allocations can never exceed the heap size advertised by
anv_GetPhysicalDeviceMemoryProperties.
---
src/intel/vulkan/anv_device.c | 42
Vulkan spec:
Size is the number of bytes to fill, and must be either a multiple of 4,
or VK_WHOLE_SIZE to fill the range from offset to the end of the buffer.
If VK_WHOLE_SIZE is used and the remaining size of the buffer is not a
multiple of 4, then the nearest smaller multiple is used.
---
src/in