From 70dcb7377dca89a230731efc2e2d650c38bddd93 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 30 Apr 2017 01:18:43 +0200 Subject: gallium: add PIPE_CAP_CAN_BIND_CONST_BUFFER_AS_VERTEX The next patch will use it. This is really for svga and GL2-level drivers. Tested-by: Edmondo Tommasina Reviewed-by: Brian Paul --- src/gallium/drivers/r300/r300_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/r300/r300_screen.c') diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index 989912c03d5..9fa6bcd3924 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -238,6 +238,7 @@ static int r300_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_SPARSE_BUFFER_PAGE_SIZE: case PIPE_CAP_TGSI_BALLOT: case PIPE_CAP_TGSI_TES_LAYER_VIEWPORT: + case PIPE_CAP_CAN_BIND_CONST_BUFFER_AS_VERTEX: return 0; /* SWTCL-only features. */ -- cgit v1.2.3