mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
c/render: Remove compute default_sampler
This commit is contained in:
parent
27ba15cb24
commit
647fd366c5
|
@ -329,9 +329,6 @@ struct render_resources
|
|||
//! Uniform data binding.
|
||||
uint32_t ubo_binding;
|
||||
|
||||
//! Default sampler for null images.
|
||||
VkSampler default_sampler;
|
||||
|
||||
struct
|
||||
{
|
||||
//! Descriptor set layout for compute.
|
||||
|
|
|
@ -737,12 +737,6 @@ render_resources_init(struct render_resources *r,
|
|||
VkMemoryPropertyFlags memory_property_flags =
|
||||
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT;
|
||||
|
||||
C(vk_create_sampler( //
|
||||
vk, // vk_bundle
|
||||
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE, // clamp_mode
|
||||
&r->compute.default_sampler)); // out_sampler
|
||||
|
||||
|
||||
struct vk_descriptor_pool_info compute_pool_info = {
|
||||
.uniform_per_descriptor_count = 1,
|
||||
// layer images
|
||||
|
@ -1018,8 +1012,6 @@ render_resources_close(struct render_resources *r)
|
|||
|
||||
D(Pipeline, r->compute.clear.pipeline);
|
||||
|
||||
D(Sampler, r->compute.default_sampler);
|
||||
|
||||
render_distortion_images_close(r);
|
||||
render_buffer_close(vk, &r->compute.clear.ubo);
|
||||
render_buffer_close(vk, &r->compute.layer.ubo);
|
||||
|
|
Loading…
Reference in a new issue