diff options
author | Kenneth Graunke <[email protected]> | 2016-08-17 05:03:29 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-08-18 00:46:04 -0700 |
commit | d8971128accc84db04becf820b66e455d5d7534c (patch) | |
tree | d7fe8d50a4fac8b82761744bb230957acc81208f /src/compiler/nir/nir_search_helpers.h | |
parent | 01e99cba043084be7477e3a801029bfee581ab87 (diff) |
nir/builder: Add bany_inequal and bany helpers.
The first simply picks the bany_inequal[234] opcodes based on the SSA
def's number of components. The latter implicitly compares with zero
to achieve the same semantics of GLSL's any().
Cc: [email protected]
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_search_helpers.h')
0 files changed, 0 insertions, 0 deletions