Home
last modified time | relevance | path

Searched refs:uav (Results 1 - 19 of 19) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_state_uav.c45 * Initialize uav cache.
98 * Helper function to compare two uav cache entry descriptions.
130 * Find a uav object for the specified image view or shader buffer.
131 * Returns uav entry if there is a match; otherwise returns NULL.
153 * Add a uav entry to the cache for the specified image view or
166 struct svga_uav *uav; in svga_uav_cache_add_uav() local
169 debug_printf("No room to add uav to the cache.\n"); in svga_uav_cache_add_uav()
173 uav = &cache->uaViews[i]; in svga_uav_cache_add_uav()
175 /* update the next available uav slot index */ in svga_uav_cache_add_uav()
176 cache->next_uaView = uav in svga_uav_cache_add_uav()
194 svga_uav_cache_use_uav(struct svga_context *svga, enum svga_pipe_type pipe_type, struct svga_uav *uav) svga_uav_cache_use_uav() argument
214 struct svga_uav *uav = &cache->uaViews[0]; svga_uav_cache_purge() local
358 struct svga_uav *uav; svga_create_uav_list() local
[all...]
H A Dsvga_shader_buffer.c45 * Create a uav object for the specified shader buffer
74 /* Mark this buffer as a uav bound buffer */ in svga_create_uav_buffer()
76 sbuf->uav = TRUE; in svga_create_uav_buffer()
158 /* purge any unused uav objects */ in svga_set_shader_buffers()
196 /* Mark the buffer as uav buffer so that a readback will in svga_set_hw_atomic_buffers()
199 * the uav buffer can be updated at each draw. in svga_set_hw_atomic_buffers()
202 sbuf->uav = TRUE; in svga_set_hw_atomic_buffers()
237 /* purge any unused uav objects */ in svga_set_hw_atomic_buffers()
H A Dsvga_resource_buffer.h219 boolean uav; /* Set if the buffer is bound to a uav */ member
H A Dsvga_image_view.c45 * Create a uav object for the specified shader image view
58 /* Make sure the translated svga format supports uav */ in svga_create_uav_image()
82 /* mark this buffer as being used in uav */ in svga_create_uav_image()
84 sbuf->uav = TRUE; in svga_create_uav_image()
211 /* purge any unused uav objects */ in svga_set_shader_images()
H A Dsvga_context.h516 /* starting uav index for each shader */
519 /* starting uav index for HW atomic buffers */
638 /* Bitmask of used uav IDs */
641 /* Bitmask of to-free uav IDs */
679 unsigned uav:1; member
H A Dsvga_state_constants.c1018 * If the buffer has been bound as an uav buffer, it will in emit_constbuf_vgpu10()
1456 if (sbuf && sbuf->uav) { in update_rawbuf_mask()
1468 * raw buffer srv. This function is called after uav state is
1513 * raw buffer srv. This function is called after uav state is
H A Dsvga_draw.c1056 if (svga->rebind.flags.uav) { in draw_vgpu10()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_screen.cpp1030 D3D12_UNORDERED_ACCESS_VIEW_DESC uav = {}; in d3d12_init_null_uavs() local
1032 uav.Format = DXGI_FORMAT_R32G32B32A32_FLOAT; in d3d12_init_null_uavs()
1036 uav.ViewDimension = D3D12_UAV_DIMENSION_BUFFER; in d3d12_init_null_uavs()
1037 uav.Buffer.FirstElement = 0; in d3d12_init_null_uavs()
1038 uav.Buffer.NumElements = 0; in d3d12_init_null_uavs()
1039 uav.Buffer.Flags = D3D12_BUFFER_UAV_FLAG_NONE; in d3d12_init_null_uavs()
1040 uav.Buffer.StructureByteStride = 0; in d3d12_init_null_uavs()
1041 uav.Buffer.CounterOffsetInBytes = 0; in d3d12_init_null_uavs()
1044 uav.ViewDimension = D3D12_UAV_DIMENSION_TEXTURE1D; in d3d12_init_null_uavs()
1045 uav in d3d12_init_null_uavs()
[all...]
/third_party/skia/third_party/externals/spirv-cross/
H A Dspirv_hlsl.hpp98 } cbv, uav, srv, sampler; member
302 for (auto &unorm : uav) in TextureSizeVariants()
307 uint64_t uav[3][4]; member
311 void emit_texture_size_variants(uint64_t variant_mask, const char *vecsize_qualifier, bool uav,
H A Dspirv_hlsl.cpp1581 emit_texture_size_variants(required_texture_size_variants.uav[norm][comp], vecsizes[comp], true, in emit_resources()
1967 void CompilerHLSL::emit_texture_size_variants(uint64_t variant_mask, const char *vecsize_qualifier, bool uav, in emit_texture_size_variants() argument
1998 statement(ret_types[index], " spv", (uav ? "Image" : "Texture"), "Size(", (uav ? "RW" : ""), in emit_texture_size_variants()
2000 (uav ? "" : "uint Level, "), "out uint Param)"); in emit_texture_size_variants()
2006 if (has_lod[index] && !uav) in emit_texture_size_variants()
2015 if (has_lod[index] && !uav) in emit_texture_size_variants()
2017 else if (!uav) in emit_texture_size_variants()
2026 if (has_lod[index] && !uav) in emit_texture_size_variants()
2028 else if (!uav) in emit_texture_size_variants()
5219 bool uav = expression_type(ops[2]).image.sampled == 2; emit_instruction() local
5247 bool uav = expression_type(ops[2]).image.sampled == 2; emit_instruction() local
5581 bool uav = type.image.sampled == 2; require_texture_query_variant() local
[all...]
H A Dspirv_cross_c.cpp982 bind.uav.register_binding = binding->uav.register_binding; in spvc_compiler_hlsl_add_resource_binding()
983 bind.uav.register_space = binding->uav.register_space; in spvc_compiler_hlsl_add_resource_binding()
2558 binding->uav.register_binding = binding_default.uav.register_binding; in spvc_hlsl_resource_binding_init()
2559 binding->uav.register_space = binding_default.uav.register_space; in spvc_hlsl_resource_binding_init()
H A Dspirv_cross_c.h559 spvc_hlsl_resource_binding_mapping cbv, uav, srv, sampler; member
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DBindGroupD3D12.cpp164 D3D12_UNORDERED_ACCESS_VIEW_DESC uav = view->GetUAVDescriptor(); in BindGroup() local
166 resource, nullptr, &uav, in BindGroup()
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_private.h653 uint32_t srv, uav; member
747 uint32_t srv, uav; member
H A Ddzn_descriptor_set.c618 uint32_t uav = in dzn_pipeline_layout_create() local
622 layout->sets[j].dynamic_buffer_heap_offsets[o].uav = uav != ~0 ? uav + elem : ~0; in dzn_pipeline_layout_create()
H A Ddzn_cmd_buffer.c2340 if (pipeline->sets[s].dynamic_buffer_heap_offsets[o].uav != ~0) { in dzn_cmd_buffer_update_heaps()
2341 desc_heap_offset = pipeline->sets[s].dynamic_buffer_heap_offsets[o].uav; in dzn_cmd_buffer_update_heaps()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DStateManager11.h318 const UAVType *uav);
H A DStateManager11.cpp818 const UAVType *uav)
824 if (record.view != reinterpret_cast<uintptr_t>(uav))
827 ID3D11UnorderedAccessView *uavPtr = uav ? uav->get() : nullptr;
H A DTextureStorage11.cpp454 d3d11::SharedUAV uav; in getCachedOrCreateUAVForImage() local
455 ANGLE_TRY(createUAVForImage(context, key.level, format, *texture, &uav)); in getCachedOrCreateUAVForImage()
456 const auto &insertIt = mUavCacheForImage.insert(std::make_pair(key, std::move(uav))); in getCachedOrCreateUAVForImage()

Completed in 47 milliseconds