nv50/ir: accomodate all file types, there are now more than 8
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 6 Sep 2014 16:26:07 +0000 (12:26 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 9 Sep 2014 00:06:12 +0000 (20:06 -0400)
Reported by Coverity

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/codegen/nv50_ir_target.h

index cb9fd37c4c80b5cd6fe76e6b75e3d4df44b9b640..591916eb4124dcc2e7e9d2c623a475fb1c2b5eb2 100644 (file)
@@ -151,8 +151,8 @@ public:
       uint8_t srcNr;
       uint8_t srcMods[3];
       uint8_t dstMods;
-      uint8_t srcFiles[3];
-      uint8_t dstFiles;
+      uint16_t srcFiles[3];
+      uint16_t dstFiles;
       unsigned int minEncSize  : 4;
       unsigned int vector      : 1;
       unsigned int predicate   : 1;