diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-06-07 23:06:27 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-07-08 08:57:25 -0700 |
commit | 45f5db5a84ae6fe5d4a4d1cd8b62b48d70629fc9 (patch) | |
tree | 82e41bac2b94d02f70eb5bc622f631dbdcd60790 /appveyor.yml | |
parent | a42e8f0ed1d1aa1b38282be28e4f55e246b55685 (diff) |
intel/fs: Implement "demote to helper invocation"
The "demote" intrinsic works like "discard" but don't change the
control flow, allowing derivative operations to work. This is the
semantics of D3D discard.
The "is_helper_invocation" intrinsic will return true for helper
invocations -- both the ones that started as helpers and the ones that
where demoted. This is needed to avoid changing the behavior of
gl_HelperInvocation which is an input (so not expected to change
during shader execution).
v2: Emit the discard jump and comment why it is safe. (Jason)
Rework the is_helper_invocation() that was stomping f0.1. (Jason)
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'appveyor.yml')
0 files changed, 0 insertions, 0 deletions