nvir: bump max encoding size of instructions

SM70 SASS is encoded into 16 bytes.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5377>
This commit is contained in:
Ben Skeggs
2020-06-07 09:51:40 +10:00
committed by Marge Bot
parent 67ad75a282
commit b80aff88fe
2 changed files with 2 additions and 2 deletions

View File

@@ -900,7 +900,7 @@ public:
uint16_t subOp; // quadop, 1 for mul-high, etc.
unsigned encSize : 4; // encoding size in bytes
unsigned encSize : 5; // encoding size in bytes
unsigned saturate : 1; // to [0.0f, 1.0f]
unsigned join : 1; // converge control flow (use OP_JOIN until end)
unsigned fixed : 1; // prevent dead code elimination

View File

@@ -200,7 +200,7 @@ public:
uint8_t dstMods;
uint16_t srcFiles[3];
uint16_t dstFiles;
unsigned int minEncSize : 4;
unsigned int minEncSize : 5;
unsigned int vector : 1;
unsigned int predicate : 1;
unsigned int commutative : 1;