From f9b29c4a5862d7caeab89e8a3bd23f3275dbd9a6 Mon Sep 17 00:00:00 2001 From: Caio Marcelo de Oliveira Filho Date: Thu, 28 Mar 2019 01:47:10 -0700 Subject: gallium: Add PIPE_CAP_COMPUTE_SHADER_DERIVATIVES To enable NV_compute_shader_derivatives, which allows derivatives (and texture lookups with implicit derivatives) in compute shaders. Reviewed-by: Kenneth Graunke Reviewed-by: Ian Romanick --- src/gallium/docs/source/screen.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/docs') diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index a4d6a9557c0..7d3b262d240 100644 --- a/src/gallium/docs/source/screen.rst +++ b/src/gallium/docs/source/screen.rst @@ -503,6 +503,7 @@ The integer capabilities: cases may be a smaller number. * ``PIPE_CAP_COMPUTE_GRID_INFO_LAST_BLOCK``: Whether pipe_grid_info::last_block is implemented by the driver. See struct pipe_grid_info for more details. +* ``PIPE_CAP_COMPUTE_SHADER_DERIVATIVE``: True if the driver supports derivatives (and texture lookups with implicit derivatives) in compute shaders. .. _pipe_capf: -- cgit v1.2.3