[Mesa-dev] [PATCH 1/3] gk110/ir: fix wrong emission of BAR.SYNC
Ilia Mirkin
imirkin at alum.mit.edu
Sun Feb 28 21:49:10 UTC 2016
On Sun, Feb 28, 2016 at 4:30 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
> src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
> index 264b35f..584198c 100644
> --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
> +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
> @@ -1273,7 +1273,7 @@ CodeEmitterGK110::emitBAR(const Instruction *i)
> case NV50_IR_SUBOP_BAR_RED_OR: code[1] |= 0x90; break;
> case NV50_IR_SUBOP_BAR_RED_POPC: code[1] |= 0x10; break;
> default:
> - code[1] |= 0x20;
> + code[1] |= 0x00;
You can just leave this out...
> assert(i->subOp == NV50_IR_SUBOP_BAR_SYNC);
> break;
> }
> --
> 2.7.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list