diff options
author | Ilia Mirkin <[email protected]> | 2014-07-17 22:31:11 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-07-24 08:26:41 -0400 |
commit | 3f6b34baccac562f640126660d65285649a3d550 (patch) | |
tree | f63de38dbe8374999d913136ace03532e33fdf0c /src/gallium | |
parent | b21a28797c23fc49a23fd48386f5932f0fb6d874 (diff) |
nvc0: mark shader header if fp64 is used
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_program.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |