Reviewed-by: Ilia Mirkin <imir...@alum.mit.edu> On Mar 17, 2016 6:25 PM, "Samuel Pitoiset" <samuel.pitoi...@gmail.com> wrote:
> Only 3d subop is currently emitted. > > 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 cfa85ec..066faa3 100644 > --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp > +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp > @@ -204,6 +204,11 @@ static const char *ldstSubOpStr[] = > "", "lock", "unlock" > }; > > +static const char *subfmOpStr[] = > +{ > + "", "3d" > +}; > + > static const char *DataTypeStr[] = > { > "-", > @@ -548,6 +553,10 @@ void Instruction::print() const > if (subOp < Elements(ldstSubOpStr)) > PRINT("%s ", ldstSubOpStr[subOp]); > break; > + case OP_SUBFM: > + if (subOp < Elements(subfmOpStr)) > + PRINT("%s ", subfmOpStr[subOp]); > + break; > default: > if (subOp) > PRINT("(SUBOP:%u) ", subOp); > -- > 2.7.1 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev >
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev