Skip to content
Unverified Commit 49b5b0ab authored by Steven Perron's avatar Steven Perron Committed by GitHub
Browse files

Fix up bit shifts by 32. (#2292)

In C++, a bit shift of the same size as the type is undefined, but it is
defined in spir-v.  When folding those cases, we have to be careful.  We
cannot simply do the shift in C++.

Fixes https://crbug.com/917697.
parent 3109ca16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment