Searched refs:constantBufferDesc (Results 1 – 1 of 1) sorted by relevance
91 D3D11_BUFFER_DESC constantBufferDesc = {}; in loadResources() local92 constantBufferDesc.ByteWidth = roundUpPow2<UINT>(sizeof(CopyShaderParams), 32u); in loadResources()93 constantBufferDesc.Usage = D3D11_USAGE_DYNAMIC; in loadResources()94 constantBufferDesc.BindFlags = D3D11_BIND_CONSTANT_BUFFER; in loadResources()95 constantBufferDesc.CPUAccessFlags = D3D11_CPU_ACCESS_WRITE; in loadResources()96 constantBufferDesc.MiscFlags = 0; in loadResources()97 constantBufferDesc.StructureByteStride = 0; in loadResources()99 ANGLE_TRY(mRenderer->allocateResource(context11, constantBufferDesc, &mParamsConstantBuffer)); in loadResources()