mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-11 14:41:50 +00:00
Rename builtin(frag_coord) to builtin(position)
Use the variable storage class to determine the correct builtin to use in the SPIR-V generator. Added a deprecation warning for frag_coord. Bug: tint:714 Change-Id: I5ad4956f9345e2f39f4af16e84668dec345ac82e Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/47742 Auto-Submit: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Commit Bot service account
parent
d13982ff2e
commit
88d7edcf7a
@@ -27,7 +27,7 @@ enum class Builtin {
|
||||
kVertexIndex,
|
||||
kInstanceIndex,
|
||||
kFrontFacing,
|
||||
kFragCoord,
|
||||
kFragCoord, // TODO(crbug.com/tint/714): Remove this
|
||||
kFragDepth,
|
||||
kLocalInvocationId,
|
||||
kLocalInvocationIndex,
|
||||
|
||||
Reference in New Issue
Block a user