summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNanley Chery <nanley.g.chery@intel.com>2016-07-12 11:57:50 -0700
committerNanley Chery <nanley.g.chery@intel.com>2016-07-15 14:54:31 -0700
commitd826afba1f06d32acefda883ec3f536c11f6c130 (patch)
treeab55102a20e2947ec50152ce4fbcc79e126e0a3a
parent8c83a76dee80abf48487e7ee48a8949c0659a1a4 (diff)
func.desc.dynamic: Use a correct reference image
Commit 17685f385bad0f7e79772e2e5990e2e2572b6897 changed the uniform buffer test's reference image although the test logic would have generated the same image if it didn't have the bugs that commit introduced. Restore the original image. Since storage test's output is equivalent to that of the uniform test, remove its custom image and reference the uniform buffer test's image. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
-rw-r--r--data/func.desc.dynamic.storage-buffer.ref.pngbin268 -> 0 bytes
-rw-r--r--data/func.desc.dynamic.uniform-buffer.ref.pngbin211 -> 201 bytes
-rw-r--r--src/tests/func/desc/dynamic.c1
3 files changed, 1 insertions, 0 deletions
diff --git a/data/func.desc.dynamic.storage-buffer.ref.png b/data/func.desc.dynamic.storage-buffer.ref.png
deleted file mode 100644
index 900bd30..0000000
--- a/data/func.desc.dynamic.storage-buffer.ref.png
+++ /dev/null
Binary files differ
diff --git a/data/func.desc.dynamic.uniform-buffer.ref.png b/data/func.desc.dynamic.uniform-buffer.ref.png
index 82ad6c4..be99fc7 100644
--- a/data/func.desc.dynamic.uniform-buffer.ref.png
+++ b/data/func.desc.dynamic.uniform-buffer.ref.png
Binary files differ
diff --git a/src/tests/func/desc/dynamic.c b/src/tests/func/desc/dynamic.c
index d44fc70..53af344 100644
--- a/src/tests/func/desc/dynamic.c
+++ b/src/tests/func/desc/dynamic.c
@@ -266,6 +266,7 @@ test(void)
test_define {
.name = "func.desc.dynamic.storage-buffer",
.start = test,
+ .image_filename = "func.desc.dynamic.uniform-buffer.ref.png",
.user_data = &(struct params) {
.descriptor_type = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC
}