From 545dedba13a06d28fa05f3e85bd668db8ddfe80a Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 11 Mar 2020 20:15:08 -0400 Subject: [PATCH] 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: --- src/panfrost/midgard/midgard_ra.c | 7 ------- 1 file changed, 7 deletions(-) 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); } } -- 2.30.2