diff options
author | Rob Clark <[email protected]> | 2019-02-21 15:44:35 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-02-22 14:05:32 -0500 |
commit | f90c3b448508cbed26f697c9f36fd1ee6264a32b (patch) | |
tree | 998c10bf5b652ce8b1d8e4472d04c10a5914a5ea /src/freedreno | |
parent | bdedb8277a96341c8ccd268e75b4e877286fa8ab (diff) |
freedreno/a6xx: fix border-color offset
Fixes nearly all of dEQP-GLES31.functional.texture.border_clamp.* when
run after a test that binds textures used in vertex shader.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/freedreno')
-rw-r--r-- | src/freedreno/registers/a6xx.xml.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/freedreno/registers/a6xx.xml.h b/src/freedreno/registers/a6xx.xml.h index 78869bf0469..227a04aafbe 100644 --- a/src/freedreno/registers/a6xx.xml.h +++ b/src/freedreno/registers/a6xx.xml.h @@ -5215,8 +5215,8 @@ static inline uint32_t A6XX_TEX_SAMP_1_MIN_LOD(float val) } #define REG_A6XX_TEX_SAMP_2 0x00000002 -#define A6XX_TEX_SAMP_2_BCOLOR_OFFSET__MASK 0xfffffff0 -#define A6XX_TEX_SAMP_2_BCOLOR_OFFSET__SHIFT 4 +#define A6XX_TEX_SAMP_2_BCOLOR_OFFSET__MASK 0xffffffff +#define A6XX_TEX_SAMP_2_BCOLOR_OFFSET__SHIFT 0 static inline uint32_t A6XX_TEX_SAMP_2_BCOLOR_OFFSET(uint32_t val) { return ((val) << A6XX_TEX_SAMP_2_BCOLOR_OFFSET__SHIFT) & A6XX_TEX_SAMP_2_BCOLOR_OFFSET__MASK; |