Searched refs:def_desc (Results 1 – 1 of 1) sorted by relevance
1027 D3D11_SHADER_RESOURCE_VIEW_DESC def_desc; in CreateShaderResourceView() local1042 D3D10_SHADER_RESOURCE_VIEW_DESC1 def_desc;1051 memset(&def_desc, 0, sizeof(def_desc));1052 def_desc.Format = pipe_to_dxgi_format[resource->format];1056 def_desc.ViewDimension = D3D11_SRV_DIMENSION_BUFFER;1057 def_desc.Buffer.ElementWidth = resource->width0;1060 def_desc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE1D;1061 def_desc.Texture1D.MipLevels = resource->last_level + 1;1064 def_desc.ViewDimension = D3D11_SRV_DIMENSION_TEXTURE1DARRAY;1065 def_desc.Texture1DArray.MipLevels = resource->last_level + 1;[all …]