diff options
author | Ilia Mirkin <[email protected]> | 2017-02-04 22:31:29 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2017-02-09 12:57:21 -0500 |
commit | b090033087d9e00740cec3abb7ff5febf13f20a7 (patch) | |
tree | 4fbbddc60115f7681b2e79a8f477e96568f4210b /src/gallium/include/pipe/p_defines.h | |
parent | 6a71a69a12d43da801a6fb95fc6e20be37f348b6 (diff) |
gallium: add separate PIPE_CAP_INT64_DIVMOD
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 <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe/p_defines.h')
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 9915957590e..1d6d2640557 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -754,6 +754,7 @@ enum pipe_cap PIPE_CAP_TGSI_MUL_ZERO_WINS, PIPE_CAP_DOUBLES, PIPE_CAP_INT64, + PIPE_CAP_INT64_DIVMOD, }; #define PIPE_QUIRK_TEXTURE_BORDER_COLOR_SWIZZLE_NV50 (1 << 0) |