From: Ilia Mirkin Date: Sat, 21 Nov 2015 03:55:28 +0000 (-0500) Subject: freedreno/a4xx: enable ARB_base_instance support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=801b55c2eef53597972d84774faab76cb906164f;p=mesa.git freedreno/a4xx: enable ARB_base_instance support We already pass in start_instance in fd4_draw. Expose the extension. Signed-off-by: Ilia Mirkin --- diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index adb0982132d..7bffc8f68c2 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -163,7 +163,6 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_TEXTURE_MULTISAMPLE: case PIPE_CAP_TEXTURE_BARRIER: case PIPE_CAP_TEXTURE_MIRROR_CLAMP: - case PIPE_CAP_START_INSTANCE: case PIPE_CAP_COMPUTE: return 0; @@ -196,6 +195,7 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_TEXTURE_FLOAT_LINEAR: case PIPE_CAP_CUBE_MAP_ARRAY: + case PIPE_CAP_START_INSTANCE: return is_a4xx(screen); case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT: