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:
@@ -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
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user