From 8108b56023fe622416ef3fb17cb23f2a79b14054 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Tue, 4 Jul 2017 16:06:28 -0400 Subject: [PATCH] a5xx: disable ARB_depth_clamp for now We need to figure out how to implement it properly. Right now it doesn't work at all. Signed-off-by: Ilia Mirkin Acked-by: Rob Clark --- src/gallium/drivers/freedreno/freedreno_screen.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index b1c2c0343ab..ae17ec23026 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -217,10 +217,12 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_CONDITIONAL_RENDER_INVERTED: case PIPE_CAP_FAKE_SW_MSAA: case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE: - case PIPE_CAP_DEPTH_CLIP_DISABLE: case PIPE_CAP_CLIP_HALFZ: return is_a3xx(screen) || is_a4xx(screen) || is_a5xx(screen); + case PIPE_CAP_DEPTH_CLIP_DISABLE: + return is_a3xx(screen) || is_a4xx(screen); + case PIPE_CAP_BUFFER_SAMPLER_VIEW_RGBA_ONLY: return 0; case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT: -- 2.30.2