John Kessenich
848d3a9447
Implement GL_EXT_subgroup_uniform_control_flow.
2021-06-07 10:21:05 -04:00
Jeremy Hayes
634ba4743d
Fix table key and whitespace
...
These got lost in the wash with my last revert but are still relevant.
2021-04-09 17:00:40 -06:00
Greg Fischer
186e66c1a3
Revert "Update minimum SPIR-V requirement for GL_EXT_buffer_reference"
2021-04-07 15:20:16 -06:00
Jeremy Hayes
97dfbe2c4b
Update minimum SPIR-V requirement
...
Require SPIR-V 1.3 when using GL_EXT_buffer_reference.
Migrate tests to SPIR-V 1.3 fixture as necessary.
Fix extension table key.
Fix whitespace.
2021-03-29 15:10:43 -06:00
greg-lunarg
4e064eef46
Revert "Revert "GL_ext_vulkan_glsl_relaxed extension support, and cross stage aware IO mapper""
2021-03-15 11:26:11 -06:00
greg-lunarg
e063363878
Revert "GL_ext_vulkan_glsl_relaxed extension support, and cross stage aware IO mapper"
2021-03-10 11:26:43 -07:00
will brown
ecc9b9149f
Implement GL_EXT_vulkan_glsl_relaxed option
2021-03-08 13:31:39 -05:00
Caio Marcelo de Oliveira Filho
4bfbf62794
Add support for GL_EXT_shared_memory_block
...
Uses SPV_KHR_workgroup_memory_explicit_layout. Note that if
GL_EXT_scalar_block_layout is enabled, Workgroup blocks can also use
scalar layout.
2021-01-29 11:23:05 -08:00
John Kessenich
c739e03748
Implement GL_EXT_null_initializer
...
Adds null initializer syntax (empty braces)
Allows null initialization of shared variables
2021-01-25 15:54:52 -05:00
Jesse Hall
74e8f05b9f
Implement GL_EXT_terminate_invocation ( #2454 )
...
* Implement GL_EXT_terminate_invocation.
* terminateInvocation: declare the SPV extension
* Update test results for spirv-tools and bison version bumps
Co-authored-by: John Kessenich <cepheus@frii.com>
2020-11-09 09:30:01 -07:00
Tobski
8c1a3a06b8
Add GL_EXT_shader_image_int64 support ( #2409 )
2020-11-04 09:24:23 -07:00
Chow
a315b5633b
Add GL_EXT_fragment_shading_rate
2020-10-20 13:46:13 +01:00
Rex Xu
864cd8c63e
Parser: Fix wrong names of extension macros
...
The names of some extension macros are wrong because of coding typos.
2020-09-02 23:03:03 +08:00
johnkslang
01384725c2
Fix #2366 , fix #2358 , correctly separate out numerical feature checking
...
We need separate concepts for
- total set of extensions ever enabled, for the back end
- current state of extensions, for parsing
- the set of features currently enabled for building the AST
2020-08-14 08:40:06 -06:00
Vikram Kushwaha
79b93923d2
Add changes for SPV_EXT_shader_atomic_float_add
2020-07-22 05:52:22 -07:00
Ben Clayton
b919bc889e
Fix signed / unsigned mismatch warning ( #2266 )
2020-06-10 21:41:47 -06:00
alelenv
d39b8afc47
EXT_ray_tracing requires spv1.4 ( #2237 )
...
* EXT_ray_tracing requires spv1.4
* Fix typo.
* Add extension data table.
* Updated feedback #2 .
2020-05-28 09:18:07 -06:00
John Kessenich
7c4dc1299e
Merge branch 'master' into GL_EXT_blend_func_extended
2020-05-01 02:41:31 -06:00
Pankaj Mistry
e05cc20ec2
Add support for es extension GL_EXT_blend_func_extended
...
* Introduces builtin variables gl_SecondaryFragColorEXT and gl_SecondaryFragDataEXT
* Introduces builtin constant gl_MaxDualSourceDrawBuffersEXT
* enables support for layout qualifier "index" in es profile
2020-04-30 23:21:14 -07:00
John Kessenich
9fcc078724
Merge branch 'master' into GL_EXT_shader_implicit_conversions
2020-04-30 23:09:13 -06:00
pmistryNV
2c53baedbb
Add support for extension GL_EXT_shader_integer_mix ( #2203 )
2020-04-30 22:41:33 -06:00
Pankaj Mistry
2a8ead2109
Add support for extension GL_EXT_shader_implicit_conversions
...
Updated extension management in TIntermediate class.
2020-04-30 08:41:23 -07:00
pmistryNV
39281fb710
Add support for extension GL_ARB_vertex_attrib_64bit ( #2193 )
2020-04-29 06:58:49 -06:00
pmistryNV
f03cb290ac
Add support for extension GL_ARB_texture_query_lod. ( #2194 )
2020-04-27 23:46:54 -06:00
pmistryNV
ea50f6d77e
Add support for extension GL_ARB_shading_language_packing ( #2192 )
2020-04-27 02:46:32 -06:00
pmistryNV
7d65f09b83
Add support for extension GL_ARB_shader_storage_buffer_object ( #2184 )
...
Enable below features for GL Core version 420:
* layout qualifier "std430"
* storage qualifier "buffer"
* atomic memory functions
2020-04-22 22:46:52 -06:00
pmistryNV
3f4e5c4563
Add support for extension GL_ARB_shader_image_size ( #2185 )
2020-04-19 20:47:54 -06:00
pmistryNV
9f46e3dd5e
Add support for extension GL_ARB_shader_bit_encoding ( #2183 )
2020-04-17 05:24:12 -06:00
alelenv
75de196cec
Add support for EXT_ray_flags_primitive_culling. ( #2173 )
...
Fixes issue #2169 .
2020-04-08 22:09:20 -06:00
Torosdagli
06c2eee720
GL_EXT_ray_query updates
2020-03-19 16:46:30 -04:00
Daniel Koch
db32b243ff
Add support for GLSL_EXT_ray_tracing
...
and SPV_KHR_ray_tracing
2020-03-17 20:42:47 -04:00
Jeff Bolz
04d73731de
GL_EXT_debug_printf implementation
2020-03-05 13:41:34 -06:00
John Kessenich
56364b6b60
Copyright update, mostly to trigger bots again.
2020-03-01 04:51:40 -07:00
John Kessenich
5181367062
Merge pull request #1998 from ShchchowAMD/ARB_gpu_shader_fp64
...
Add support for ARB_gpu_shader_fp64
2020-01-08 06:18:44 -07:00
Chow
ab6a58801f
Move symbol builtin check to grammar stage
...
FYI, move builtin check to type symbol check.
Avoid modifying interface doubleCheck().
2020-01-08 14:07:50 +08:00
Roy
3eb540fbe7
Add missing extension defination
...
This micro should been defined 1, if opengl 2.0 is required.
2020-01-07 14:55:51 +08:00
Chow
a3c7a25e10
Add support for ARB_gpu_shader_fp64
...
GLSL Version : >= 150
Purpose:
Allow users to use features by enabling this extension, even in low versions.
Extension Name:
ARB_gpu_shader_fp64
Builtin-variables:
Nah
Builtin-functions:
functions overloaded for this extension, please check registry in reference.
Keywords:
Double
Features:
add support for type "double"
Reference:
https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_gpu_shader_fp64.txt
Add support for implicit conversion
1. Remove builtin double vertex (this is introduced by vertex_attrib_64bit
2. Add extension check and implicit conversion as double has been introduced
3. Add test results.
2020-01-06 11:08:20 +08:00
John Kessenich
930403e5b3
Merge branch 'master' into ARB_uniform_buffer_object
2019-12-29 21:32:41 -07:00
John Kessenich
18fb7f24b8
Merge pull request #1996 from ShchchowAMD/ARB_texture_multisample
...
Add support for ARB_texture_multisample
2019-12-29 20:19:39 -07:00
Chow
97c4c0936f
Add support for ARB_uniform_buffer_object
...
GLSL Version : >= 120
Purpose:
Allow users to use features by enabling this extension, even in low versions.
Extension Name:
ARB_uniform_buffer_object
Builtin-variables:
Uniform
Builtin-functions:
Nah
Keywords:
Nah
Features:
uniform block
Reference:
https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_uniform_buffer_object.txt
2019-12-23 16:30:12 +08:00
Chow
a8f9886cc6
Add support for ARB_texture_multisample
...
GLSL Version : >= 140
Purpose:
Allow users to use features by enabling this extension, even in low versions.
Extension Name:
ARB_texture_multisample
Builtin-variables:
Nah
Builtin-functions:
Nah
Keywords:
sampler2DMS, isampler2DMS, usampler2DMS,
sampler2DMSArray, isampler2DMSArray, usampler2DMSArray
Reference:
https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_texture_multisample.txt
2019-12-23 15:37:04 +08:00
Chow
78b1180466
Add support for ARB_sample_shading
...
Version : >= 130
Extension Name: ARB_sample_shading
Builtin-variables:
"gl_SampleID"
"gl_SamplePosition"
"gl_SampleMask"
"gl_NumSamples"
Reference:
https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_sample_shading.txt
2019-12-23 14:34:38 +08:00
Ian Romanick
e0da415dff
INTEL_shader_integer_functions2: Add basic extension tracking
2019-12-03 10:54:22 -08:00
John Kessenich
51ed01c877
Web: Add compute stage.
2019-10-23 00:25:39 -06:00
John Kessenich
101ca388fb
Merge pull request #1880 from georgeouzou/master
...
Add support for GL_ARB_explicit_uniform_location
2019-10-12 08:24:11 -06:00
John Kessenich
90e402f42b
SPV_KHR_physical_storage_buffer/SPV: Add GL_EXT_buffer_reference_uvec2
...
Adds uvec2 <-> reference constructor support.
Switches from EXT to KHR for physical_storage_buffer.
2019-09-18 23:52:36 -06:00
Jeff Bolz
c5b669e04c
Add GL_EXT_shader_subgroup_extended_types support
2019-09-17 23:44:27 -05:00
georgeouzou
d2b24ae5d7
Add support for GL_ARB_explicit_uniform_location
2019-08-25 00:16:10 +03:00
Jeff Bolz
387657e4cf
GL_NV_integer_cooperative_matrix support
2019-08-22 20:37:59 -05:00
John Kessenich
deec1933e9
Web: Turn off includes, independent preprocessing path, fine tune all.
...
Saved about 21K, size down to 380K of MSVC x86 code.
Fixed one bug that needs to be looked at on the master branch:
The test for needing a Vulkan binding has a bug in it, "!layoutAttachment"
which does not mean "no layoutAttachment", because that is non-zero.
This is why some test and test results changed.
2019-08-20 23:21:56 -06:00