-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11523 from degasus/OGL_KHR_subgroup
VideoBackend/OGL: Prefer KHR_shader_subgroup over NV_shader_thread.
- Loading branch information
Showing
8 changed files
with
66 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
** Copyright (c) 2013-2015 The Khronos Group Inc. | ||
** SPDX-License-Identifier: MIT | ||
*/ | ||
|
||
#include "Common/GL/GLExtensions/gl_common.h" | ||
|
||
#define GL_SUBGROUP_SIZE_KHR 0x9532 | ||
#define GL_SUBGROUP_SUPPORTED_STAGES_KHR 0x9533 | ||
#define GL_SUBGROUP_SUPPORTED_FEATURES_KHR 0x9534 | ||
#define GL_SUBGROUP_QUAD_ALL_STAGES_KHR 0x9535 | ||
#define GL_SUBGROUP_FEATURE_BASIC_BIT_KHR 0x00000001 | ||
#define GL_SUBGROUP_FEATURE_VOTE_BIT_KHR 0x00000002 | ||
#define GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR 0x00000004 | ||
#define GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR 0x00000008 | ||
#define GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR 0x00000010 | ||
#define GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR 0x00000020 | ||
#define GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR 0x00000040 | ||
#define GL_SUBGROUP_FEATURE_QUAD_BIT_KHR 0x00000080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters