shader_ir/other: Implement S2R InvocationId

This commit is contained in:
ReinUsesLisp 2019-10-30 18:17:27 -03:00
parent ecbfa416f0
commit 0b5b93053d
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 2DFC508897B39CFE
4 changed files with 9 additions and 0 deletions

View file

@ -172,6 +172,7 @@ enum class OperationCode {
EmitVertex, /// () -> void
EndPrimitive, /// () -> void
InvocationId, /// () -> int
YNegate, /// () -> float
LocalInvocationIdX, /// () -> uint
LocalInvocationIdY, /// () -> uint