John Kessenich
5cb2fa2ad2
Fix #1759 : Check for specialization constants when literals required.
2019-05-03 08:40:35 -06:00
John Kessenich
86c72c9486
Bump revision.
2019-04-19 05:00:32 -06:00
Christoph Kubisch
aa4e527781
revert typeName from getCompleteString() (breaks tests), add to function dump instead
2019-04-16 13:28:49 +02:00
Christoph Kubisch
8a0e12a107
TType::getCompleteString insert optional structure name
2019-04-16 09:50:48 +02:00
Christoph Kubisch
55ba3eaf89
introduce new --dump-builtin-symbols command line
...
add corresponding EShMsgBuiltinSymbolTable
TSymbol::dump functions have option to do "complete" print
bugfix in TType::getCompleteString, structure can be null for block
2019-04-13 22:18:16 +02:00
Daniel Koch
0aea3106e2
Add cstdlib include
...
On some platforms some of the includers of this header don't have
'atoi' defined after the change in #1749
2019-04-06 07:43:17 -04:00
John Kessenich
3416d48b59
Update to latest SPIR-V header and bump revision.
2019-04-04 09:38:26 -06:00
Daniel Koch
8b2f96d3fe
Check if _MSC_VER is defined before using.
...
Fixes compilation errors on some platforms.
2019-04-03 17:21:06 -04:00
John Kessenich
b184e41a06
Build: Update to the most recent SPIR-V headers, for Rev. 7 of SPV 1.3
2019-03-17 22:29:25 -06:00
Jeff Bolz
7895e473c3
Move getBufferReferenceAlignment to be a method of TType
...
This is a better place for it logically, since it is not specific to
glsl->spirv translation. And in a future change I want to use it outside
of glslangtospv.
2019-03-06 13:40:33 -06:00
Jeff Bolz
be63facd80
Handle buffer references vs 'const'
...
Allow constructors to and from references to be constant folded. Section 4.3.3
says constructors whose arguments are all constant expressions must fold.
Disallow 'const' on buffer reference types. It is not a 'non-void transparent
basic data type' (it is not considered 'basic').
Handle buffer reference constants (which can be assigned to a non-const reference,
or can be further folded to another type of constant) by converting to
'constructor(uint64_t constant)' in addConversion.
Disallow == and != operators on reference types.
2019-03-04 12:46:11 -06:00
Jeff Bolz
4605e2ed2b
Implement GL_NV_cooperative_matrix
2019-02-25 23:42:59 -06:00
John Kessenich
f6e7c4d2de
Bump version.
2019-02-07 23:56:53 -07:00
nicebyte
c28369b75f
Add support for GL_EXT_YUV_target
2019-01-29 13:17:47 -08:00
Jeff Bolz
e135a4897a
More precisely check for the qualifiers that enable the vulkan memory model for buffer references.
...
Not all memory qualifiers necessarily need the vulkan memory model, e.g. volatile/restrict that correspond to core SPIR-V features do not.
2019-01-20 00:59:38 -06:00
John Kessenich
b2395e9ddf
HLSL: Fix #1655 ; use "" for nullptr file names. Needs test cases.
2019-01-16 16:07:51 +07:00
John Kessenich
2898223375
Bump revision.
2019-01-11 15:07:04 +07:00
David Neto
b11b997d59
Parenthesize to avoid GCC warning
2019-01-08 18:57:03 -05:00
Jeff Bolz
9f2aec49e9
GL_EXT_buffer_reference
2019-01-07 12:36:13 -06:00
Rémi Verschelde
ebfd91a719
Remove Unix executable permission from text files
2018-12-10 10:49:16 +01:00
greg-lunarg
5d43c4aac7
SPV: Fix #1575 , fix #1593 : Support HLSL #line
...
SPIR-V OpLines now contain filenames from HLSL-style #lines.
2018-12-07 17:36:33 -07:00
John Kessenich
4efc6f1ed0
Bump version.
2018-11-29 00:37:16 -07:00
John Kessenich
d41a8dca0c
Build: Fix build warnings introduced by 2173c6.
...
Also bump version for recent changes.
2018-11-27 07:45:52 -07:00
Daniel Koch
5154db5183
Implement GL_EXT_fragment_invocation_density
...
including SPV generation using SPV_EXT_fragment_invocation_density.
This is an alias of the functionality in SPV_NV_shading_rate, and thus in some
cases we can only have one set of the tokens present (switch statements), so
we have picked the EXT version. This required updating the expected test
results for SPV_NV_shading_rate.
Also updated the known-good for spirv-headers so that the validator in
spirv-tools knows about the new extension.
2018-11-26 10:01:58 -05:00
John Kessenich
83fe01e274
SPV: non-functional: update to latest headers.
2018-11-26 06:34:38 -07:00
John Kessenich
1a5e3a9ba6
Bump minor version.
2018-11-16 10:02:18 -07:00
John Kessenich
e3b76ed608
Merge branch 'scalar_block_layout' of https://github.com/jeffbolznv/glslang into jeffbolznv-scalar_block_layout
2018-11-16 09:57:33 -07:00
John Kessenich
f4ba9522ec
GLSL: Increase supported sizes of XBF strides and offsets.
2018-11-15 15:12:07 -07:00
John Kessenich
1bc601c674
Bump revision.
2018-11-15 10:37:21 -07:00
Jeff Bolz
7da39ed968
Implement GL_EXT_scalar_block_layout
2018-11-14 09:30:53 -06:00
Ashwin Lele
ff1783db87
Multiple features and misc fixes for final raytracing non experimental version.
2018-10-31 07:55:24 -07:00
John Kessenich
43bb5bd188
Fix #1536 : use string instead of TString for uniform-location override.
2018-10-20 17:37:19 -06:00
Sahil Parmar
035cbbe3d0
Allow redeclaration of builtin interface blocks in mesh shader
...
Apart from allowing redeclaration of gl_MeshPerVertexNV and gl_MeshPerPrimitiveNV blocks, this change also -
- Resize clip/cull perview distances based on static index use
- Error out use of both single-view and per-view builtins
- Add new gtests with redeclared blocks and edit existing test output
- Fix couple of typos
2018-10-04 16:39:18 -07:00
John Kessenich
1f60c72c67
Interface: remove NV_EXTENSIONS from the resources header.
...
This allows library consumers to work without have to set
NV_EXTENSIONS.
2018-09-26 03:02:13 -06:00
John Kessenich
a8453d4bc0
SPIRV-Tools: Move to more recent (higher quality) version.
2018-09-20 14:36:42 -06:00
John Kessenich
088da33263
Bump revision.
2018-09-20 02:04:42 -06:00
John Kessenich
8751c13ce2
Bump minor version.
2018-09-19 16:50:05 -06:00
Chao Chen
5b2203db04
Add-support-for-SPV_NV_shading_rate
2018-09-19 13:07:43 -07:00
Chao Chen
b50c02ef53
Add-support-for-SPV_NVX_raytracing
2018-09-19 13:07:43 -07:00
Chao Chen
3c3669904c
Add-support-for-SPV_NV_mesh_shader
2018-09-19 13:07:43 -07:00
Chao Chen
3a1379667d
0003-Add-support-for-SPV_NV_shader_image_footprint
2018-09-19 13:07:42 -07:00
Chao Chen
beae2251b7
Add-support-for-SPV_NV_compute_shader_derivatives
2018-09-19 13:07:42 -07:00
Chao Chen
9eada4b971
Add-support-for-SPV_NV_fragment_shader_barycentric
2018-09-19 13:07:42 -07:00
John Kessenich
b4a598ba93
Bump revision.
2018-09-13 17:54:48 -06:00
John Kessenich
6def4375cc
Bump revision.
2018-09-10 18:14:21 -06:00
John Kessenich
1ca0f8e8eb
Bump version and revision.
2018-09-07 09:07:03 -06:00
Jeff Bolz
36831c9bad
GL_KHR_memory_scope_semantics
2018-09-06 20:36:14 -05:00
John Kessenich
97068d8b30
Merge pull request #1465 from otakuto/remove-execute-permissions
...
Remove execute permissions
2018-08-31 08:14:47 -07:00
John Kessenich
ac2e1b6328
bump revision
2018-08-30 17:43:22 -06:00
John Kessenich
72f8c69097
Bump version patch level.
2018-08-13 01:32:56 -06:00