From b090033087d9e00740cec3abb7ff5febf13f20a7 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Sat, 4 Feb 2017 22:31:29 -0500 Subject: gallium: add separate PIPE_CAP_INT64_DIVMOD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nouveau does not currently have logic to implement this as a library function. Even though such a library could be written, there's no big advantage to do it that way for now given that int64 is a very uncommon use-case. Allow a driver to expose INT64 without supporting division and modulo operations. Signed-off-by: Ilia Mirkin Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/i915/i915_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/i915/i915_screen.c') diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index 76f20fcc14c..038cca1c67f 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -300,6 +300,7 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) case PIPE_CAP_TGSI_MUL_ZERO_WINS: case PIPE_CAP_DOUBLES: case PIPE_CAP_INT64: + case PIPE_CAP_INT64_DIVMOD: return 0; case PIPE_CAP_MAX_VIEWPORTS: -- cgit v1.2.3