nv50,nvc0: Fix invalid constant.
authorVinson Lee <vlee@freedesktop.org>
Sat, 19 Mar 2016 01:28:28 +0000 (18:28 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sat, 19 Mar 2016 03:38:41 +0000 (20:38 -0700)
commita100d89d09981d2ebb42a7e4643a48e78db8dfe3
tree04e24b8321376d1696c0477553138d76b2cb05bb
parent46610238e0a8db47c293f75ad8d667747d6256af
nv50,nvc0: Fix invalid constant.

Fix clang build error.

  CXX      codegen/nv50_ir_lowering_nvc0.lo
codegen/nv50_ir_lowering_nvc0.cpp:1783:42: error: invalid suffix 'd' on floating constant
      Value *zero = bld.loadImm(NULL, 0.0d);
                                         ^

Fixes: c1e4a6bfbf01 ("nv50,nvc0: handle SQRT lowering inside the driver")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp