nvc0: add note about where the viewport mask would go
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 26 May 2016 04:02:57 +0000 (00:02 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 26 May 2016 12:46:29 +0000 (08:46 -0400)
Not piping this all the way through yet, but no better place to note
this down. This will can be used with NV_viewport_array2.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_program.c

index 4177d8dc37c9ac97f72886ab5739973470dddfd8..d73e0c47eb7a5e2db2386330086cc7c098e9b872 100644 (file)
@@ -80,6 +80,7 @@ nvc0_shader_output_address(unsigned sn, unsigned si)
    case TGSI_SEMANTIC_CLIPDIST:      return 0x2c0 + si * 0x10;
    case TGSI_SEMANTIC_CLIPVERTEX:    return 0x270;
    case TGSI_SEMANTIC_TEXCOORD:      return 0x300 + si * 0x10;
+   /* case TGSI_SEMANTIC_VIEWPORT_MASK: return 0x3a0; */
    case TGSI_SEMANTIC_EDGEFLAG:      return ~0;
    default:
       assert(!"invalid TGSI output semantic");