From 34ea55d8201b9bfd31dd432f45b5423861f8ad0b Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 15 Feb 2018 01:32:08 +0100 Subject: gallium: add PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle Reviewed-by: Timothy Arceri --- src/gallium/drivers/radeonsi/si_get.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/radeonsi') diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c index 5379ba9ade5..01050cf02b4 100644 --- a/src/gallium/drivers/radeonsi/si_get.c +++ b/src/gallium/drivers/radeonsi/si_get.c @@ -214,6 +214,9 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 450; return 420; + case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY: + return 140; + case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE: return MIN2(sscreen->info.max_alloc_size, INT_MAX); -- cgit v1.2.3