diff options
author | Paul Berry <[email protected]> | 2012-09-12 20:51:07 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-09-21 10:53:25 +0200 |
commit | aa3c2e3186c3bfb59da417938d0558f4d13d7cac (patch) | |
tree | 3169db65bb27694af9d78556123083ff7ae9399d /src/gallium/state_trackers/xa | |
parent | cd49025affe621548ca66df8c1a2ec38829eafe3 (diff) |
i965/blorp: Fix narrowing warnings.
Blorp has to convert rectangle coordinates from integers to floats in
order to send them down the GPU pipeline. Recent versions of GCC
issue a warning for this, since a float is not capable of precisely
representing all possible 32-bit integer values. Suppress the warning
with an explicit type cast in the case of blorp, since rectangle
coordinates will never be large enough to cause a loss of precision.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/xa')
0 files changed, 0 insertions, 0 deletions