Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
c0344cbf
Unverified
Commit
c0344cbf
authored
May 25, 2020
by
Lynne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/vulkan: fix queue counts and set indices
parent
fb49d5c0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
vulkan.c
libavfilter/vulkan.c
+2
-4
No files found.
libavfilter/vulkan.c
View file @
c0344cbf
...
@@ -1163,7 +1163,7 @@ void ff_vk_update_descriptor_set(AVFilterContext *avctx, VulkanPipeline *pl,
...
@@ -1163,7 +1163,7 @@ void ff_vk_update_descriptor_set(AVFilterContext *avctx, VulkanPipeline *pl,
VulkanFilterContext
*
s
=
avctx
->
priv
;
VulkanFilterContext
*
s
=
avctx
->
priv
;
vkUpdateDescriptorSetWithTemplate
(
s
->
hwctx
->
act_dev
,
vkUpdateDescriptorSetWithTemplate
(
s
->
hwctx
->
act_dev
,
pl
->
desc_set
[
s
et_id
*
s
->
cur_queue_idx
],
pl
->
desc_set
[
s
->
cur_queue_idx
*
pl
->
desc_layout_num
+
set_id
],
pl
->
desc_template
[
set_id
],
pl
->
desc_template
[
set_id
],
s
);
s
);
}
}
...
@@ -1182,9 +1182,7 @@ int ff_vk_init_pipeline_layout(AVFilterContext *avctx, VulkanPipeline *pl)
...
@@ -1182,9 +1182,7 @@ int ff_vk_init_pipeline_layout(AVFilterContext *avctx, VulkanPipeline *pl)
VkResult
ret
;
VkResult
ret
;
VulkanFilterContext
*
s
=
avctx
->
priv
;
VulkanFilterContext
*
s
=
avctx
->
priv
;
int
queues_count
=
1
;
pl
->
descriptor_sets_num
=
pl
->
desc_layout_num
*
s
->
queue_count
;
pl
->
descriptor_sets_num
=
pl
->
desc_layout_num
*
queues_count
;
{
/* Init descriptor set pool */
{
/* Init descriptor set pool */
VkDescriptorPoolCreateInfo
pool_create_info
=
{
VkDescriptorPoolCreateInfo
pool_create_info
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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