Mesa (master): freedreno/a5xx+: Drop the unused no_decode_srgb flag.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Feb 25 00:55:51 UTC 2021


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

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Feb 24 15:04:47 2021 -0800

freedreno/a5xx+: Drop the unused no_decode_srgb flag.

This was a flag used for a4xx GMEM draws.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9267>

---

 src/gallium/drivers/freedreno/a5xx/fd5_emit.h | 1 -
 src/gallium/drivers/freedreno/a6xx/fd6_emit.h | 1 -
 2 files changed, 2 deletions(-)

diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_emit.h b/src/gallium/drivers/freedreno/a5xx/fd5_emit.h
index ecb0c84a8df..42bc88d89a4 100644
--- a/src/gallium/drivers/freedreno/a5xx/fd5_emit.h
+++ b/src/gallium/drivers/freedreno/a5xx/fd5_emit.h
@@ -54,7 +54,6 @@ struct fd5_emit {
 	uint32_t sprite_coord_enable;  /* bitmask */
 	bool sprite_coord_mode;
 	bool rasterflat;
-	bool no_decode_srgb;
 
 	/* in binning pass, we don't have real frag shader, so we
 	 * don't know if real draw disqualifies lrz write.  So just
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_emit.h b/src/gallium/drivers/freedreno/a6xx/fd6_emit.h
index c74e80d1662..5d51d3c570d 100644
--- a/src/gallium/drivers/freedreno/a6xx/fd6_emit.h
+++ b/src/gallium/drivers/freedreno/a6xx/fd6_emit.h
@@ -94,7 +94,6 @@ struct fd6_emit {
 	uint32_t sprite_coord_enable;  /* bitmask */
 	bool sprite_coord_mode;
 	bool rasterflat;
-	bool no_decode_srgb;
 	bool primitive_restart;
 
 	/* cached to avoid repeated lookups: */



More information about the mesa-commit mailing list