summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2017-10-27 13:46:37 +1000
committerDave Airlie <airlied@redhat.com>2017-10-27 13:46:37 +1000
commite1c5523ccb410e7034a97704924e88b06d99c6de (patch)
tree649ebf1d4cc049fa566de72d095d9d815dabae00
parent146f61de5fbbc326f0c864933092a42e30077b21 (diff)
more sType mistakes fixes
-rw-r--r--src/tests/func/compute-num-workgroups.c2
-rw-r--r--src/tests/func/compute.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/func/compute-num-workgroups.c b/src/tests/func/compute-num-workgroups.c
index 8f013a6..b53059e 100644
--- a/src/tests/func/compute-num-workgroups.c
+++ b/src/tests/func/compute-num-workgroups.c
@@ -82,7 +82,7 @@ common_init(CTX *ctx)
.sType = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO,
.pNext = NULL,
.stage = {
- .sType = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO,
+ .sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO,
.stage = VK_SHADER_STAGE_COMPUTE_BIT,
.module = shader,
.pName = "main",
diff --git a/src/tests/func/compute.c b/src/tests/func/compute.c
index a144900..21f2edd 100644
--- a/src/tests/func/compute.c
+++ b/src/tests/func/compute.c
@@ -67,7 +67,7 @@ test(void)
.sType = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO,
.pNext = NULL,
.stage = {
- .sType = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO,
+ .sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO,
.stage = VK_SHADER_STAGE_COMPUTE_BIT,
.module = cs,
.pName = "main",