From: Alyssa Rosenzweig Date: Wed, 31 Jul 2019 20:40:46 +0000 (-0700) Subject: panfrost: Adjust shader CAPs to expose dEQP compute X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d86828243d1179a3a52153973a53ea1031842e0;p=mesa.git panfrost: Adjust shader CAPs to expose dEQP compute Signed-off-by: Alyssa Rosenzweig --- diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 172539b5c67..5b51faa7f56 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -256,7 +256,6 @@ panfrost_get_shader_param(struct pipe_screen *screen, return 0; case PIPE_SHADER_CAP_MAX_INSTRUCTIONS: - return 0; case PIPE_SHADER_CAP_MAX_ALU_INSTRUCTIONS: case PIPE_SHADER_CAP_MAX_TEX_INSTRUCTIONS: case PIPE_SHADER_CAP_MAX_TEX_INDIRECTIONS: @@ -327,7 +326,7 @@ panfrost_get_shader_param(struct pipe_screen *screen, case PIPE_SHADER_CAP_MAX_SHADER_BUFFERS: case PIPE_SHADER_CAP_MAX_SHADER_IMAGES: - return is_deqp; + return is_deqp ? 4 : 0; case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTERS: case PIPE_SHADER_CAP_MAX_HW_ATOMIC_COUNTER_BUFFERS: return 0;