From 2aaf52bb85bfa933ba6b480d0df54e7fdc1dab3f Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Thu, 19 Nov 2020 16:42:17 +0000 Subject: [PATCH] aco: fix MIMG_instruction::lwe comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ISA docs were inconsistent about what this flag does, but that seems fixed in the RDNA doc. Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Part-of: --- src/amd/compiler/aco_ir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_ir.h b/src/amd/compiler/aco_ir.h index 5cb6360f781..4a9b6060cec 100644 --- a/src/amd/compiler/aco_ir.h +++ b/src/amd/compiler/aco_ir.h @@ -1294,7 +1294,7 @@ struct MIMG_instruction : public Instruction { bool slc : 1; /* system level coherent */ bool tfe : 1; /* texture fail enable */ bool da : 1; /* declare an array */ - bool lwe : 1; /* Force data to be un-normalized */ + bool lwe : 1; /* LOD warning enable */ bool r128 : 1; /* NAVI: Texture resource size */ bool a16 : 1; /* VEGA, NAVI: Address components are 16-bits */ bool d16 : 1; /* Convert 32-bit data to 16-bit data */