diff options
author | Nanley Chery <nanley.g.chery@intel.com> | 2016-07-07 17:10:33 -0700 |
---|---|---|
committer | Nanley Chery <nanley.g.chery@intel.com> | 2016-07-15 14:54:16 -0700 |
commit | b9a66d3f7ed73d9b91bba917eb203ef2fdfceda9 (patch) | |
tree | 5adf81a78846855b702d6237edf4d47121e19362 | |
parent | fa714ad88e1392909e767a622c6fd1ea4febccbf (diff) |
stress.lots-of-surface-state: Specify the right DescriptorType
Because the variable use_dynamic_offsets is true in this block,
the resource descriptor to be updated is actually a dynamic
uniform buffer.
Fixes:
* stress.lots-of-surface-state.vs.dynamic
* stress.lots-of-surface-state.fs.dynamic
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
-rw-r--r-- | src/tests/stress/lots-of-surface-state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/stress/lots-of-surface-state.c b/src/tests/stress/lots-of-surface-state.c index c37e9b6..9a55bdf 100644 --- a/src/tests/stress/lots-of-surface-state.c +++ b/src/tests/stress/lots-of-surface-state.c @@ -230,7 +230,7 @@ test_lots_of_surface_state(VkShaderModule vs, VkShaderModule fs, .dstBinding = 0, .dstArrayElement = 0, .descriptorCount = 12, - .descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, + .descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC, .pBufferInfo = buffer_info, }, }, 0, NULL); |