diff options
author | Marek Olšák <[email protected]> | 2016-12-31 13:34:11 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-01-05 13:07:12 +0100 |
commit | e51baeb6c1386681d8f9c285a8f4912d91fad7ee (patch) | |
tree | d71491fe9ead4994196c5a4cb544ac165667b20c /src/gallium/include | |
parent | d3cb79e043338b0e55a3fba8df652f3ce4894d0d (diff) |
gallium: add PIPE_CAP_GLSL_OPTIMIZE_CONSERVATIVELY
Drivers with good compilers don't need aggressive optimizations before TGSI.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/include')
-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 f1dd7935a78..7dfd7dd5b32 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -743,6 +743,7 @@ enum pipe_cap PIPE_CAP_STREAM_OUTPUT_INTERLEAVE_BUFFERS, PIPE_CAP_TGSI_CAN_READ_OUTPUTS, PIPE_CAP_NATIVE_FENCE_FD, + PIPE_CAP_GLSL_OPTIMIZE_CONSERVATIVELY, }; #define PIPE_QUIRK_TEXTURE_BORDER_COLOR_SWIZZLE_NV50 (1 << 0) |