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.cpp1408 D3D11_SHADER_RESOURCE_VIEW_DESC bufferSRVDesc; in getSRVForFormat() local
1409 bufferSRVDesc.Buffer.ElementOffset = 0; in getSRVForFormat()
1410 bufferSRVDesc.Buffer.ElementWidth = static_cast<UINT>(mBufferSize) / dxgiFormatInfo.pixelBytes; in getSRVForFormat()
1411 bufferSRVDesc.ViewDimension = D3D11_SRV_DIMENSION_BUFFER; in getSRVForFormat()
1412 bufferSRVDesc.Format = srvFormat; in getSRVForFormat()
1414 ANGLE_TRY(mRenderer->allocateResource(GetImplAs<Context11>(context), bufferSRVDesc, in getSRVForFormat()
1527 D3D11_SHADER_RESOURCE_VIEW_DESC bufferSRVDesc = {}; in getStructuredBufferRangeSRV() local
1528 bufferSRVDesc.BufferEx.NumElements = structureByteStride == 0u ? 1 : size / structureByteStride; in getStructuredBufferRangeSRV()
1529 bufferSRVDesc.BufferEx.FirstElement = 0; in getStructuredBufferRangeSRV()
1530 bufferSRVDesc.BufferEx.Flags = 0; in getStructuredBufferRangeSRV()
[all …]