Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.cpp3507 const d3d11::Buffer *constantBuffer = nullptr; in applyComputeUniforms() local
3508 ANGLE_TRY(computeUniformStorage->getConstantBuffer(context, mRenderer, &constantBuffer)); in applyComputeUniforms()
3515 UpdateUniformBuffer(deviceContext, computeUniformStorage, constantBuffer); in applyComputeUniforms()
3519 if (mCurrentComputeConstantBuffer != constantBuffer->getSerial()) in applyComputeUniforms()
3523 constantBuffer->getPointer()); in applyComputeUniforms()
3524 mCurrentComputeConstantBuffer = constantBuffer->getSerial(); in applyComputeUniforms()
3575 const d3d11::Buffer *constantBuffer = nullptr; in syncUniformBuffersForShader() local
3580 uniformBufferSize, &constantBuffer, in syncUniformBuffersForShader()
3582 ASSERT(constantBuffer); in syncUniformBuffersForShader()
3588 if (mCurrentConstantBufferVS[bufferIndex] == constantBuffer->getSerial() && in syncUniformBuffersForShader()
[all …]
Drenderer11_utils.h310 void SetBufferData(ID3D11DeviceContext *context, ID3D11Buffer *constantBuffer, const T &value) in SetBufferData() argument
313 HRESULT result = context->Map(constantBuffer, 0, D3D11_MAP_WRITE_DISCARD, 0, &mappedResource); in SetBufferData()
318 context->Unmap(constantBuffer, 0); in SetBufferData()
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DDrawCallPerf.cpp404 wgpu::Buffer constantBuffer = utils::CreateBufferFromData( in SetUp() local
407 {{0, constantBuffer, 0, sizeof(kConstantData)}}); in SetUp()