Searched refs:bufferSRVDesc (Results 1 – 1 of 1) sorted by relevance
1408 D3D11_SHADER_RESOURCE_VIEW_DESC bufferSRVDesc; in getSRVForFormat() local1409 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() local1528 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 …]