projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23ed237
)
cube: Set pipeline renderpass
author
Courtney Goeltzenleuchter
<courtney@LunarG.com>
Thu, 13 Aug 2015 22:55:04 +0000
(16:55 -0600)
committer
Courtney Goeltzenleuchter
<courtney@LunarG.com>
Mon, 17 Aug 2015 15:51:23 +0000
(09:51 -0600)
LunarXchange issue #111:
https://vulkan.lunarg.com/app/issues/
55cbc6d77ef24d0001000001
noticed that the pipeline's renaderPass was not being set.
demos/cube.c
patch
|
blob
|
history
diff --git
a/demos/cube.c
b/demos/cube.c
index
0d0dff2
..
662f31c
100644
(file)
--- a/
demos/cube.c
+++ b/
demos/cube.c
@@
-1647,6
+1647,8
@@
static void demo_prepare_pipeline(struct demo *demo)
pipeline.pStages = shaderStages;
pipeline.renderPass = demo->render_pass;
+ pipeline.renderPass = demo->render_pass;
+
err = vkCreateGraphicsPipelines(demo->device, demo->pipelineCache, 1, &pipeline, &demo->pipeline);
assert(!err);