Mesa (master): aco: fix MIMG_instruction::lwe comment

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jan 8 14:43:26 UTC 2021


Module: Mesa
Branch: master
Commit: 2aaf52bb85bfa933ba6b480d0df54e7fdc1dab3f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2aaf52bb85bfa933ba6b480d0df54e7fdc1dab3f

Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Thu Nov 19 16:42:17 2020 +0000

aco: fix MIMG_instruction::lwe comment

The ISA docs were inconsistent about what this flag does, but that seems
fixed in the RDNA doc.

Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7775>

---

 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 */



More information about the mesa-commit mailing list