From: Ilia Mirkin Date: Tue, 4 Jul 2017 22:07:08 +0000 (-0400) Subject: a5xx: enable polygon offset clamps X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e73fc6b1a6bf4642f8c96d78d942ee7b7c8c36f;p=mesa.git a5xx: enable polygon offset clamps This is already set and emitted by the code. 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 ae17ec23026..a915d65ee0b 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -223,6 +223,9 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_DEPTH_CLIP_DISABLE: return is_a3xx(screen) || is_a4xx(screen); + case PIPE_CAP_POLYGON_OFFSET_CLAMP: + return is_a5xx(screen); + case PIPE_CAP_BUFFER_SAMPLER_VIEW_RGBA_ONLY: return 0; case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT: @@ -276,7 +279,6 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_MULTI_DRAW_INDIRECT: case PIPE_CAP_MULTI_DRAW_INDIRECT_PARAMS: case PIPE_CAP_TGSI_FS_FINE_DERIVATIVE: - case PIPE_CAP_POLYGON_OFFSET_CLAMP: case PIPE_CAP_MULTISAMPLE_Z_RESOLVE: case PIPE_CAP_RESOURCE_FROM_USER_MEMORY: case PIPE_CAP_DEVICE_RESET_STATUS_QUERY: