19 for (
const auto& uniformInfo : uniforms.
items()) {
22 uniformInfo.fVariable.getArrayCount() > 0);
24 uniform.fArrayCount = uniformInfo.fVariable.getArrayCount();
25 uniform.
fType = uniformInfo.fVariable.getType();
28 uniform.
fOffset = uniformInfo.fUBOOffset;
40 return fConstantBufferAddress;
SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID()
GrD3DResourceProvider & resourceProvider()
GrD3DPipelineStateDataManager(const UniformInfoArray &, uint32_t uniformSize)
D3D12_GPU_VIRTUAL_ADDRESS uploadConstants(GrD3DGpu *gpu)
D3D12_GPU_VIRTUAL_ADDRESS uploadConstantData(void *data, size_t size)