diff options
author | Ilia Mirkin <[email protected]> | 2016-01-08 17:32:56 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-01-08 17:40:52 -0500 |
commit | e3706a7118cb572077c877b92450dc955e7a6754 (patch) | |
tree | ea17361044c4e5980e05f635c59bc9108e1c785b /src/gallium/drivers/nouveau/nvc0/nvc0_program.c | |
parent | 82ad571abf2fa2d85047451690f6a335f66d25fa (diff) |
nv50,nvc0: use a face sysval to avoid the useless back-and-forth conversion
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0/nvc0_program.c')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_program.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_program.c b/src/gallium/drivers/nouveau/nvc0/nvc0_program.c index 7cb86e3b905..c3b53621630 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_program.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_program.c @@ -55,7 +55,6 @@ nvc0_shader_input_address(unsigned sn, unsigned si) case TGSI_SEMANTIC_INSTANCEID: return 0x2f8; case TGSI_SEMANTIC_VERTEXID: return 0x2fc; case TGSI_SEMANTIC_TEXCOORD: return 0x300 + si * 0x10; - case TGSI_SEMANTIC_FACE: return 0x3fc; default: assert(!"invalid TGSI input semantic"); return ~0; |