From 34738a92dea31ab91edb62bf83a3fe1ca44c35a1 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 2 Jan 2016 20:45:00 +0100 Subject: gallium: add caps for POSITION and FACE system values v2: document the integer behavior Reviewed-by: Edward O'Callaghan --- src/gallium/drivers/ilo/ilo_screen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/ilo/ilo_screen.c') diff --git a/src/gallium/drivers/ilo/ilo_screen.c b/src/gallium/drivers/ilo/ilo_screen.c index 3a18e7415b9..c26d4492d3a 100644 --- a/src/gallium/drivers/ilo/ilo_screen.c +++ b/src/gallium/drivers/ilo/ilo_screen.c @@ -480,6 +480,8 @@ ilo_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_CLEAR_TEXTURE: case PIPE_CAP_DRAW_PARAMETERS: case PIPE_CAP_TGSI_PACK_HALF_FLOAT: + case PIPE_CAP_TGSI_FS_POSITION_IS_SYSVAL: + case PIPE_CAP_TGSI_FS_FACE_IS_INTEGER_SYSVAL: return 0; case PIPE_CAP_VENDOR_ID: -- cgit v1.2.3