SpirvShader: Support scalar conditions for OpSelect
We were assuming the condition was the same width as the lhs and rhs types - it can also be a scalar even if the result is not.
Bug: b/133440380
Change-Id: Ib0e971af426b71030a097838295b07bb6e4261e0
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/31841Reviewed-by:
Chris Forbes <chrisforbes@google.com>
Reviewed-by:
Nicolas Capens <nicolascapens@google.com>
Tested-by:
Ben Clayton <bclayton@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Showing
Please
register
or
sign in
to comment