From 8e7222f4e5d624313bf972637d22b49fc7200383 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 27 Jan 2018 01:52:08 +0100 Subject: gallium: allow drivers to impose BO flags restrictions on constant buffer 0 Required by radeonsi for optimal behavior. --- src/gallium/drivers/swr/swr_screen.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/swr') diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp index ff0c2bb8a5c..55f8d4b5cf0 100644 --- a/src/gallium/drivers/swr/swr_screen.cpp +++ b/src/gallium/drivers/swr/swr_screen.cpp @@ -345,6 +345,7 @@ swr_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_SIGNED_VERTEX_BUFFER_OFFSET: case PIPE_CAP_CONTEXT_PRIORITY_MASK: case PIPE_CAP_FENCE_SIGNAL: + case PIPE_CAP_CONSTBUF0_FLAGS: return 0; case PIPE_CAP_VENDOR_ID: -- cgit v1.2.3