projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b211fe
)
vk/device: Use the correct number of viewports when creating default VP state
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 26 May 2015 00:03:57 +0000
(17:03 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 26 May 2015 00:14:49 +0000
(17:14 -0700)
Fixes valgrind uninitialized value errors
src/vulkan/device.c
patch
|
blob
|
history
diff --git
a/src/vulkan/device.c
b/src/vulkan/device.c
index db90093eb857f26d59d3680c4ea4e7a4a14713e2..066d63598a6301da6c07d900c516d68befb9e356 100644
(file)
--- a/
src/vulkan/device.c
+++ b/
src/vulkan/device.c
@@
-3141,7
+3141,7
@@
VkResult anv_CreateFramebuffer(
vkCreateDynamicViewportState((VkDevice) device,
&(VkDynamicVpStateCreateInfo) {
.sType = VK_STRUCTURE_TYPE_DYNAMIC_VP_STATE_CREATE_INFO,
- .viewportAndScissorCount =
2
,
+ .viewportAndScissorCount =
1
,
.pViewports = (VkViewport[]) {
{
.originX = 0,