[Piglit] [PATCH 2/8] cru/stress.lots-of-surface-state: Specify the right DescriptorType
Nanley Chery
nanleychery at gmail.com
Wed Jul 13 19:58:10 UTC 2016
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 at intel.com>
---
src/tests/stress/lots-of-surface-state.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
--
2.9.0
More information about the Piglit
mailing list