diff options
author | Hyunjun Ko <[email protected]> | 2020-01-17 07:23:03 +0000 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2020-01-21 10:29:16 +0100 |
commit | 26d93a7495511ded7cca3ed46bcdf7e134c0f929 (patch) | |
tree | 9d9b5e836f91ea7645ebbed839a3ce6e3e95dd03 /scons | |
parent | 87e1f8eca5d2748839be12afe81d10e1f8353b59 (diff) |
turnip: fix invalid VK_ERROR_OUT_OF_POOL_MEMORY
When VK_DESCRIPTOR_TYPE_SAMPLER is provided, it doesn't need to be
counted as a buffer count. Otherwise it leads to mismatch of allocated
buffer size, hitting VK_ERROR_OUT_OF_POOL_MEMORY finally.
Fixes: c39afe68f0390d45130c1317b3b7e65f55542c36
Also fixes amber tests:
./tests/cases/address_modes_float.amber
./tests/cases/address_modes_int.amber
./tests/cases/magfilter_linear.amber
./tests/cases/magfilter_nearest.amber
Reviewed-by: Jonathan Marek <[email protected]>
Diffstat (limited to 'scons')
0 files changed, 0 insertions, 0 deletions