GPU Shaders: Difference between revisions
m Fix up registers count |
m Fix predicates count and remove "always false" |
||
Line 22: | Line 22: | ||
== Predicates == | == Predicates == | ||
There are | There are 6 general purpose "1-bit" predicates. These can be used to conditionally execute a given instructions. There is an extra predicate that always evaluates as true (and false when negated), writing here is a no-op unless there are side-effects. It is shown as ''PT'' in ''nvdisasm''. | ||
Most of the time predicates can be negated. | Most of the time predicates can be negated. |