diff options
author | Samuel Pitoiset <[email protected]> | 2016-06-29 15:25:16 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-06-29 20:37:33 +0200 |
commit | 908ba1955434e10f7fc3579bc07f3bc46f4bff3f (patch) | |
tree | 9b61e9c478858988f12687ad198a5f72a85c269d /src | |
parent | c0d92078bbce7c2d8f017bd7d9c86f339a751bdc (diff) |
nv50/ir: print PIXLD subops in debug mode
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp index 246e519b263..f95d515c3fc 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp @@ -215,6 +215,11 @@ static const char *shflOpStr[] = "idx", "up", "down", "bfly" }; +static const char *pixldOpStr[] = +{ + "count", "covmask", "offset", "cent_offset", "sampleid" +}; + static const char *DataTypeStr[] = { "-", @@ -571,6 +576,10 @@ void Instruction::print() const if (subOp < ARRAY_SIZE(shflOpStr)) PRINT("%s ", shflOpStr[subOp]); break; + case OP_PIXLD: + if (subOp < ARRAY_SIZE(pixldOpStr)) + PRINT("%s ", pixldOpStr[subOp]); + break; default: if (subOp) PRINT("(SUBOP:%u) ", subOp); |