From: Ilia Mirkin Date: Tue, 4 Jul 2017 20:06:28 +0000 (-0400) Subject: a5xx: disable ARB_depth_clamp for now X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8108b56023fe622416ef3fb17cb23f2a79b14054;p=mesa.git 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 --- 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: