From: Alyssa Rosenzweig Date: Thu, 12 Mar 2020 00:15:08 +0000 (-0400) Subject: pan/midgard: Remove incorrect comment in RA X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=545dedba13a06d28fa05f3e85bd668db8ddfe80a;p=mesa.git pan/midgard: Remove incorrect comment in RA Ironically, this comment was mistakenly added by the commit that fixed the purported issue in the comment (1bce7fdecd86 - found by `git blame`) Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/midgard/midgard_ra.c b/src/panfrost/midgard/midgard_ra.c index 48122c4967a..6049efc3f8f 100644 --- a/src/panfrost/midgard/midgard_ra.c +++ b/src/panfrost/midgard/midgard_ra.c @@ -565,13 +565,6 @@ allocate_registers(compiler_context *ctx, bool *spilled) set_class(l->class, ins->src[1], REG_CLASS_TEXR); set_class(l->class, ins->src[2], REG_CLASS_TEXR); set_class(l->class, ins->src[3], REG_CLASS_TEXR); - - /* Texture offsets need to be aligned to vec4, since - * the swizzle for x is forced to x in hardware, while - * the other components are free. TODO: Relax to 8 for - * half-registers if that ever occurs. */ - - //lcra_restrict_range(l, ins->src[3], 16); } }