diff options
author | Ilia Mirkin <[email protected]> | 2014-02-03 23:35:14 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-02-06 18:03:24 -0500 |
commit | 364bdd24197e83bc76b0d244271e57ef4334a859 (patch) | |
tree | 49229f485fc5a5471a8edc7e87886b91b2463011 /src/gallium/drivers/nouveau/nv50/nv50_program.h | |
parent | c7373b7dc7202b93eecc1072efda7319b1ad0da8 (diff) |
nv50: fix layerid to be the fp input number rather than vp output number
In the tests they were the same so it didn't matter, but indications are
that this is the correct behaviour. Also take this opportunity to
(trivially) support using gl_Layer in fp.
Cc: 10.1 <[email protected]>
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Christoph Bumiller <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nv50/nv50_program.h')
-rw-r--r-- | src/gallium/drivers/nouveau/nv50/nv50_program.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_program.h b/src/gallium/drivers/nouveau/nv50/nv50_program.h index 75de007e4d2..8c1b3270e03 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_program.h +++ b/src/gallium/drivers/nouveau/nv50/nv50_program.h @@ -89,7 +89,7 @@ struct nv50_program { struct { uint32_t vert_count; uint8_t prim_type; /* point, line strip or tri strip */ - bool has_layer; + uint8_t has_layer; ubyte layerid; /* hw value of layer output */ } gp; |