8f0607a8c8
Don't skip the TruncateInterstageVariables transform when user defined interstage attribute input for fragment stage is empty. Because builtin inputs could also cause register mismatch for D3D12 HLSL compiler. Add a boolean flag to Tint hlsl generator option to indicate whether to run TruncateInterstageVariables or not. This defaults to false in Tint, while Dawn always set this to true for vertex stage. Bug: dawn:1733 Change-Id: Ie4c3648b226513bf15f0e03ae4ce7f3cc09fdef4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/127206 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Shrek Shao <shrekshao@google.com> |
||
---|---|---|
.. | ||
dawn | ||
tint | ||
Placeholder.cpp |