diff options
author | Gert Wollny <[email protected]> | 2018-08-10 15:04:17 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2018-08-11 11:14:29 +0200 |
commit | be95ca9be7b2a067b900979f7c01c1f2355509f5 (patch) | |
tree | 17bbfcb04ec9bffe474df0012a9b0e1a6053c95b /src/mesa/state_tracker | |
parent | 2ee1c86d71bee5ddca2c8795b4d343e31d28df99 (diff) |
Gallium/tgsi: Correct signdness of return value of bit operations
The GLSL operations findLSB, findMSB, and countBits always return
a signed integer type. Let TGSI reflect this.
v2: Properly set values in infer_(src|dst)_type (Thanks Roland
Schneidegger for pointing out problems with my 1st approach)
v2: Set values in the common infer_type code path, and only add
the correct source type for UMSB (Roland Schneidegger)
Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
0 files changed, 0 insertions, 0 deletions