History

vulkan: add pNext argument to ff_vk_create_buf()

Lynne committed 4 years ago

Commit b5e333b1 parent a0d47a25 files · +6 −6Browse files

Showing the changes to libavfilter (3 of 5 files). Show all

Unified · Split

3 files
  1. libavfilter/vf_gblur_vulkan.c +1 −1
  2. libavfilter/vf_overlay_vulkan.c +1 −1
  3. libavfilter/vf_scale_vulkan.c +1 −1
libavfilter/vf_gblur_vulkan.c+1−1
@@ -174,7 +174,7 @@ static int init_gblur_pipeline(GBlurVulkanContext *s, FFVulkanPipeline *pl, FFVk · 173 unmodified lines
174174 RET(ff_vk_init_pipeline_layout(&s->vkctx, pl));
175175 RET(ff_vk_init_compute_pipeline(&s->vkctx, pl));
176176
177− RET(ff_vk_create_buf(&s->vkctx, params_buf, sizeof(float) * ksize,
177+ RET(ff_vk_create_buf(&s->vkctx, params_buf, sizeof(float) * ksize, NULL,
178178 VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT));
179179 RET(ff_vk_map_buffers(&s->vkctx, params_buf, &kernel_mapped, 1, 0));
180180
libavfilter/vf_overlay_vulkan.c+1−1
@@ -181,7 +181,7 @@ static av_cold int init_filter(AVFilterContext *ctx) · 180 unmodified lines
181181 } *par;
182182
183183 err = ff_vk_create_buf(vkctx, &s->params_buf,
184− sizeof(*par),
184+ sizeof(*par), NULL,
185185 VK_BUFFER_USAGE_STORAGE_BUFFER_BIT,
186186 VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT);
187187 if (err)
libavfilter/vf_scale_vulkan.c+1−1
@@ -253,7 +253,7 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in) · 252 unmodified lines
253253 }
254254
255255 RET(ff_vk_create_buf(vkctx, &s->params_buf,
256− sizeof(*par),
256+ sizeof(*par), NULL,
257257 VK_BUFFER_USAGE_STORAGE_BUFFER_BIT,
258258 VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT));
259259

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t