diff options
author | Kenneth Graunke <[email protected]> | 2019-07-31 15:47:34 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-08-01 23:38:54 -0700 |
commit | 18c2e09dc747bb4290e9c37bab1f8e039c6c8c7e (patch) | |
tree | 26374261df28a6cded67e474286f381f366c6360 /src/gallium/include/pipe | |
parent | adcc0a8fdcd5307f882339ed933573ef9825eb69 (diff) |
gallium: Implement GL_EXT_shader_samples_identical via a new capability
This exposes the textureSamplesIdenticalEXT function in GLSL.
We enable it for iris and radeonsi, because their compilers already
have support for this. Tested on Intel Kabylake and AMD Vega 64.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe')
-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 c706f9819f8..9662cf63b82 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -895,6 +895,7 @@ enum pipe_cap PIPE_CAP_FRAGMENT_SHADER_DERIVATIVES, PIPE_CAP_VERTEX_SHADER_SATURATE, PIPE_CAP_TEXTURE_SHADOW_LOD, + PIPE_CAP_SHADER_SAMPLES_IDENTICAL, }; /** |