Home
last modified time | relevance | path

Searched refs:uav_desc (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_draw.cpp165 D3D12_UNORDERED_ACCESS_VIEW_DESC uav_desc; in fill_ssbo_descriptors() local
166 uav_desc.ViewDimension = D3D12_UAV_DIMENSION_BUFFER; in fill_ssbo_descriptors()
167 uav_desc.Format = DXGI_FORMAT_R32_TYPELESS; in fill_ssbo_descriptors()
168 uav_desc.Buffer.Flags = D3D12_BUFFER_UAV_FLAG_RAW; in fill_ssbo_descriptors()
169 uav_desc.Buffer.StructureByteStride = 0; in fill_ssbo_descriptors()
170 uav_desc.Buffer.CounterOffsetInBytes = 0; in fill_ssbo_descriptors()
177 uav_desc.Buffer.FirstElement = (view->buffer_offset + res_offset) / 4; in fill_ssbo_descriptors()
178 uav_desc.Buffer.NumElements = DIV_ROUND_UP(view->buffer_size, 4); in fill_ssbo_descriptors()
184 …d3d12_screen(ctx->base.screen)->dev->CreateUnorderedAccessView(d3d12_res, nullptr, &uav_desc, hand… in fill_ssbo_descriptors()
262 D3D12_UNORDERED_ACCESS_VIEW_DESC uav_desc; in fill_image_descriptors() local
[all …]
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_image.c961 iview->uav_desc = (D3D12_UNORDERED_ACCESS_VIEW_DESC) { in dzn_image_view_prepare_uav_desc()
972 iview->uav_desc.ViewDimension = D3D12_UAV_DIMENSION_TEXTURE1DARRAY; in dzn_image_view_prepare_uav_desc()
973 iview->uav_desc.Texture1DArray.MipSlice = iview->vk.base_mip_level; in dzn_image_view_prepare_uav_desc()
974 iview->uav_desc.Texture1DArray.FirstArraySlice = iview->vk.base_array_layer; in dzn_image_view_prepare_uav_desc()
975 iview->uav_desc.Texture1DArray.ArraySize = iview->vk.layer_count; in dzn_image_view_prepare_uav_desc()
977 iview->uav_desc.ViewDimension = D3D12_UAV_DIMENSION_TEXTURE1D; in dzn_image_view_prepare_uav_desc()
978 iview->uav_desc.Texture1D.MipSlice = iview->vk.base_mip_level; in dzn_image_view_prepare_uav_desc()
987 iview->uav_desc.ViewDimension = D3D12_UAV_DIMENSION_TEXTURE2DARRAY; in dzn_image_view_prepare_uav_desc()
988 iview->uav_desc.Texture2DArray.PlaneSlice = 0; in dzn_image_view_prepare_uav_desc()
989 iview->uav_desc.Texture2DArray.MipSlice = iview->vk.base_mip_level; in dzn_image_view_prepare_uav_desc()
[all …]
Ddzn_private.h936 D3D12_UNORDERED_ACCESS_VIEW_DESC uav_desc; member
985 D3D12_UNORDERED_ACCESS_VIEW_DESC uav_desc; member
Ddzn_descriptor_set.c874 …ID3D12Device1_CreateUnorderedAccessView(heap->dev, image->res, NULL, &iview->uav_desc, view_handle… in dzn_descriptor_heap_write_image_view_desc()
915 …ID3D12Device1_CreateUnorderedAccessView(heap->dev, bview->buffer->res, NULL, &bview->uav_desc, vie… in dzn_descriptor_heap_write_buffer_view_desc()
943 D3D12_UNORDERED_ACCESS_VIEW_DESC uav_desc = { in dzn_descriptor_heap_write_buffer_desc() local
952 …ID3D12Device1_CreateUnorderedAccessView(heap->dev, info->buffer->res, NULL, &uav_desc, view_handle… in dzn_descriptor_heap_write_buffer_desc()
/third_party/mesa3d/src/microsoft/clc/
Dcompute_test.cpp395 D3D12_UNORDERED_ACCESS_VIEW_DESC uav_desc; in create_uav_buffer() local
396 uav_desc.Format = DXGI_FORMAT_R32_TYPELESS; in create_uav_buffer()
397 uav_desc.ViewDimension = D3D12_UAV_DIMENSION_BUFFER; in create_uav_buffer()
398 uav_desc.Buffer.FirstElement = 0; in create_uav_buffer()
399 uav_desc.Buffer.NumElements = DIV_ROUND_UP(width * byte_stride, 4); in create_uav_buffer()
400 uav_desc.Buffer.StructureByteStride = 0; in create_uav_buffer()
401 uav_desc.Buffer.CounterOffsetInBytes = 0; in create_uav_buffer()
402 uav_desc.Buffer.Flags = D3D12_BUFFER_UAV_FLAG_RAW; in create_uav_buffer()
404 dev->CreateUnorderedAccessView(res.Get(), NULL, &uav_desc, cpu_handle); in create_uav_buffer()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_state_uav.c103 void *desc, void *uav_desc) in uav_desc_identical() argument
107 struct svga_image_view *uav_img = (struct svga_image_view *)uav_desc; in uav_desc_identical()
116 (struct svga_shader_buffer *)uav_desc; in uav_desc_identical()