From: Ilia Mirkin Date: Fri, 18 Jul 2014 02:31:11 +0000 (-0400) Subject: nvc0: mark shader header if fp64 is used X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f6b34baccac562f640126660d65285649a3d550;p=mesa.git nvc0: mark shader header if fp64 is used Signed-off-by: Ilia Mirkin --- diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_program.c b/src/gallium/drivers/nouveau/nvc0/nvc0_program.c index dbb7c550330..21be8b7240e 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_program.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_program.c @@ -643,6 +643,8 @@ nvc0_program_translate(struct nvc0_program *prog, uint16_t chipset) */ if (info->io.globalAccess) prog->hdr[0] |= 1 << 16; + if (info->io.fp64) + prog->hdr[0] |= 1 << 27; if (prog->pipe.stream_output.num_outputs) prog->tfb = nvc0_program_create_tfb_state(info,