From: Erik Faye-Lund Date: Wed, 30 Oct 2019 10:25:00 +0000 (+0100) Subject: zink: do advertize integer support in shaders X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc80900b6c8970a62e2161bee0ec3053852b1636;p=mesa.git zink: do advertize integer support in shaders This is supported, so let's correct this. Signed-off-by: Erik Faye-Lund --- diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c index 7addb9d9660..049362b6519 100644 --- a/src/gallium/drivers/zink/zink_screen.c +++ b/src/gallium/drivers/zink/zink_screen.c @@ -395,12 +395,14 @@ zink_get_shader_param(struct pipe_screen *pscreen, case PIPE_SHADER_CAP_MAX_TEMPS: return INT_MAX; + case PIPE_SHADER_CAP_INTEGERS: + return 1; + case PIPE_SHADER_CAP_INDIRECT_INPUT_ADDR: case PIPE_SHADER_CAP_INDIRECT_OUTPUT_ADDR: case PIPE_SHADER_CAP_INDIRECT_TEMP_ADDR: case PIPE_SHADER_CAP_INDIRECT_CONST_ADDR: case PIPE_SHADER_CAP_SUBROUTINES: - case PIPE_SHADER_CAP_INTEGERS: case PIPE_SHADER_CAP_INT64_ATOMICS: case PIPE_SHADER_CAP_FP16: return 0; /* not implemented */