Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/d3d/d3d11/
DBuffer11.cpp1393 D3D11_SHADER_RESOURCE_VIEW_DESC bufferSRVDesc; in getSRVForFormat() local
1394 bufferSRVDesc.Buffer.ElementOffset = 0; in getSRVForFormat()
1395 bufferSRVDesc.Buffer.ElementWidth = static_cast<UINT>(mBufferSize) / dxgiFormatInfo.pixelBytes; in getSRVForFormat()
1396 bufferSRVDesc.ViewDimension = D3D11_SRV_DIMENSION_BUFFER; in getSRVForFormat()
1397 bufferSRVDesc.Format = srvFormat; in getSRVForFormat()
1399 ANGLE_TRY(mRenderer->allocateResource(GetImplAs<Context11>(context), bufferSRVDesc, in getSRVForFormat()
1512 D3D11_SHADER_RESOURCE_VIEW_DESC bufferSRVDesc = {}; in getStructuredBufferRangeSRV() local
1513 bufferSRVDesc.BufferEx.NumElements = structureByteStride == 0u ? 1 : size / structureByteStride; in getStructuredBufferRangeSRV()
1514 bufferSRVDesc.BufferEx.FirstElement = 0; in getStructuredBufferRangeSRV()
1515 bufferSRVDesc.BufferEx.Flags = 0; in getStructuredBufferRangeSRV()
[all …]