Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dave Airlie
mesa
Commits
d8be2e48
Commit
d8be2e48
authored
Nov 01, 2022
by
Dave Airlie
Browse files
nvk/descriptor_set: fix bo_size
This might not be correct, but it fixes dEQP-VK.texture.*
parent
c02d5bc8
Pipeline
#725775
waiting for manual action with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/nouveau/vulkan/nvk_descriptor_set.c
View file @
d8be2e48
...
...
@@ -381,7 +381,7 @@ nvk_CreateDescriptorPool(VkDevice _device,
* conservative here.) Allocate enough extra space that we can chop it
* into maxSets pieces and align each one of them to 32B.
*/
bo_size
+
=
NVK_MIN_UBO_ALIGNMENT
*
pCreateInfo
->
maxSets
;
bo_size
*
=
NVK_MIN_UBO_ALIGNMENT
*
pCreateInfo
->
maxSets
;
uint64_t
entries_size
=
sizeof
(
struct
nvk_descriptor_pool_entry
)
*
pCreateInfo
->
maxSets
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment