From: Andres Rodriguez Date: Wed, 12 Jul 2017 22:45:32 +0000 (-0400) Subject: radeonsi: enable support for EXT_memory_object X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7fe5fa001376005014d0f146516fdf13a7bca4fe;p=mesa.git radeonsi: enable support for EXT_memory_object v2: fix an indentation error v3: don't enable for r600 Signed-off-by: Andres Rodriguez Reviewed-by: Marek Olšák Reviewed-by: Timothy Arceri --- diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index f08cfcb5cdf..2c65cc886fb 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -516,6 +516,7 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_QUERY_TIME_ELAPSED: case PIPE_CAP_NIR_SAMPLERS_AS_DEREF: case PIPE_CAP_QUERY_SO_OVERFLOW: + case PIPE_CAP_MEMOBJ: return 1; case PIPE_CAP_INT64: @@ -605,7 +606,6 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_UMA: case PIPE_CAP_POLYGON_MODE_FILL_RECTANGLE: case PIPE_CAP_POST_DEPTH_COVERAGE: - case PIPE_CAP_MEMOBJ: return 0; case PIPE_CAP_QUERY_BUFFER_OBJECT: