Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> --- src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp index 3580b33..276e8d3 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp @@ -211,6 +211,11 @@ static const char *subfmOpStr[] = "", "3d" }; +static const char *shflOpStr[] = +{ + "idx", "up", "down", "bfly" +}; + static const char *DataTypeStr[] = { "-", @@ -563,6 +568,10 @@ void Instruction::print() const if (subOp < ARRAY_SIZE(subfmOpStr)) PRINT("%s ", subfmOpStr[subOp]); break; + case OP_SHFL: + if (subOp < ARRAY_SIZE(shflOpStr)) + PRINT("%s ", shflOpStr[subOp]); + break; default: if (subOp) PRINT("(SUBOP:%u) ", subOp); -- 2.8.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev