diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-04-22 09:45:53 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-06-03 17:20:54 -0700 |
commit | 81586e9f534eb531d137ce6dce38265548227b0b (patch) | |
tree | 73cf81502e26d13915a7621a2aca26a2db43fd2e /src/compiler/SConscript | |
parent | 17630291e516efcc8940a8e4de45586ca9a578b5 (diff) |
spirv: Generalize OpSelect
SPIR-V 1.4 supports OpSelect over any composite type, and also allows
scalar boolean condition for vector types -- a case which we already
handled to support old GLSLang.
Added a helper function to recursively perform nir_bcsel, that makes
easier to support structs.
v2: Replace asserts() with vtn_fail_if(). (Jason)
v3: Simplify Condition and Result types verifications. (Jason)
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/SConscript')
0 files changed, 0 insertions, 0 deletions