mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-04 13:41:42 +00:00
This CL adds emission of uniform storage class variables to the HLSL backend. If the variable is a base type (float, int, etc) it is emitted as a `cbuffer`. If the variable is a struct it will emit as a `ConstantBuffer`. Bug: tint:7 Change-Id: I9932d30df24c023c58d3a2ba4167bcb7ccb85dae Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/26920 Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: David Neto <dneto@google.com>