Commit Graph

3789 Commits

Author SHA1 Message Date
MennoVink
c9b28b9f33
xcode warnings fix (#2188) 2020-04-21 07:06:12 -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
Cody Northrop
4d2298bfd7
Support multiple swizzled out operands (#2175)
Swizzled out operands were added in bbbd9a2a. This was sufficient
for most tests, but we ran into problems with umulExtended and
imulExtended, which have two.

This CL converts the tracking values to vectors so multiple operands
can be supported.

Test: KHR-GLES31.core.shader_bitfield_operation.*
Test: ctest
2020-04-13 21:59:49 -06:00
John Kessenich
4657244018 Fix #2178: Allow specialization constants for texel offsets. 2020-04-12 22:57:07 -06:00
Malacath-92
fd593d5f08
Get rid of all warnings with MSVC and clang-cl (#2177) 2020-04-10 02:39:16 -06:00
alelenv
75de196cec
Add support for EXT_ray_flags_primitive_culling. (#2173)
Fixes issue #2169.
2020-04-08 22:09:20 -06:00
John Kessenich
9c3204a1fd Error message: Finish addressing #2097, better texture error message. 2020-04-07 02:18:23 -06:00
Ryan Harrison
b5757b9500
Remove extra semicolons (#2170)
This is causing downstream users compiler errors if they have Werror or other
particularly restrictive flags turned on.
2020-04-02 23:04:09 -06:00
Malcolm Bechard
0b66fa3b62
Shader interface matching rework to fix #2136 (#2156)
* rework how shader interface block naming rules are handled

* Fixes 2136

According to the spec, shader interfaces (uniform blocks, buffer
blocks, input blocks, output blocks) all should be matched up via
their block names across all compilation units, not instance names.
Also, all block names can be re-used between all 4 interface types
without conflict. This change makes it so all of these blocks are
matched and remapped using block name and not by instance name.
Additional the rule that matched uniform and buffer blocks must
either be anonymous or named (but not nessearily the same name) is
now imposed.

* add warning if instance names differ between matched shader interfaces

* Add test cases from #2137 which is now fixed as well.

* replace some tab characters with spaces

* buffer blocks and uniform blocks now share the same block namespace
2020-04-02 02:03:53 -06:00
John Kessenich
1fff362355 Build warning: Fix #2167: Remove nested reuse of 'unreachable'. 2020-04-01 00:46:57 -06:00
John Kessenich
e157435c1e Bump revision. 2020-03-31 00:02:31 -06:00
John Kessenich
e7c94f4973
Merge pull request #2166 from alelenv/rq_lvalue_fix
Error out assignments to objects of rayQueryEXT type.
2020-03-30 23:24:14 -06:00
alelenv
f986436a90 Error assigns to objects of rayQueryEXT type. 2020-03-30 10:24:30 -07:00
John Kessenich
08c02ced79
Merge pull request #2164 from dj2/unused
Remove unused variables.
2020-03-30 08:35:39 -06:00
dan sinclair
d50acf97c4 Remove unused variables.
This CL removes two unused variables from the initialization code.
2020-03-30 10:03:13 -04:00
John Kessenich
344bd0889a
Merge pull request #2162 from ntfshard/small_fix
Humble fix
2020-03-30 00:33:09 -06:00
John Kessenich
83855b97db Fix #2163: improve comments for addProcess() and the preamble. 2020-03-30 00:27:31 -06:00
ntfs.hard
1dad92000b printf format 2020-03-30 01:48:15 +03:00
ntfs.hard
988cd6769c unused var 2020-03-30 01:38:21 +03:00
ntfs.hard
7fc409eecc bitwise on boolean 2020-03-30 01:32:23 +03:00
ntfs.hard
f68024543f opposite inner condition 2020-03-30 00:55:49 +03:00
John Kessenich
bfe4c5957f
Merge pull request #2160 from greg-lunarg/kg110
Update spirv-tools known_good to latest stable
2020-03-27 22:28:15 -06:00
Greg Fischer
386f18cc39 Update spirv-tools known_good to latest stable 2020-03-27 11:34:45 -06:00
John Kessenich
4d7c749b76
Merge pull request #2159 from neslimsah/master
GL_EXT_ray_query accelerationStructureEXT
2020-03-27 08:23:46 -06:00
John Kessenich
99508c1ce3
Merge pull request #2157 from neslimsah/master
GL_EXT_ray_query pass-by-reference issues
2020-03-26 19:46:35 -06:00
Neslisah Torosdagli
2b4d345dae accelerationStructureEXT - issue #2152 2020-03-26 19:32:52 -04:00
Neslisah Torosdagli
915f119199 accelerationStructureEXT - issue #2152 2020-03-26 18:51:18 -04:00
Neslisah Torosdagli
054b5e35eb pass by reference updates 2020-03-26 12:24:31 -04:00
Neslisah Torosdagli
b366a703a5 Merge branch 'master' of https://github.com/neslimsah/glslang 2020-03-26 11:08:54 -04:00
Neslisah Torosdagli
7d37a68ad7 pass-by-reference updates 2020-03-26 11:08:28 -04:00
Neslisah Torosdagli
575f9df9f7
Merge pull request #1 from KhronosGroup/master
sync to KhronosGroup/glslang
2020-03-26 11:06:00 -04:00
John Kessenich
2df8c71258
Merge pull request #2154 from GMNGeoffrey/patch-1
Add missing braces to if condition
2020-03-26 00:18:25 -06:00
Geoffrey Martin-Noble
9b3baf9881
Add missing braces to if condition
The indentation implies this was the intention. Noticed the issue while trying to compile our code with -Werror -Wall
2020-03-25 20:52:43 -07:00
John Kessenich
8e26c5f50e
Merge pull request #2139 from neslimsah/master
GL_EXT_ray_query updates
2020-03-25 08:18:33 -06:00
Neslisah Torosdagli
cea9384b6b switch format update 2020-03-25 08:13:32 -04:00
Neslisah Torosdagli
f80bf797eb Merge branch 'master' of https://github.com/neslimsah/glslang 2020-03-24 21:51:11 -04:00
Neslisah Torosdagli
f0089e5499 copyright notice changes removed from unchanged files 2020-03-24 21:50:54 -04:00
Neslisah Torosdagli
9d3b4346df copyright notice changes removed from unchanged files 2020-03-24 20:39:34 -04:00
Neslisah Torosdagli
7f48ec346c copyright notice changes removed from unchanged files 2020-03-24 12:22:27 -04:00
Neslisah Torosdagli
ea98c46c2b spirv.hpp reverted to commit f368dcbb7d 2020-03-24 12:02:20 -04:00
Neslisah Torosdagli
67c7bc4086 .travis updated to origin, rayQueryCheck removed 2020-03-24 10:24:50 -04:00
John Kessenich
393c564ae0
Merge pull request #2149 from kainino0x/web-fix-cmake2.8
Fix build on CMake 2.8, and fix Web build
2020-03-24 04:18:51 -06:00
Neslisah Torosdagli
7f689bebec const rayFlag defs used in the test cases in stead of numerical values 2020-03-23 23:09:44 -04:00
Neslisah Torosdagli
65c81bf236 compute and fragment shader test_cases added for rayQuery 2020-03-23 21:56:31 -04:00
Neslisah Torosdagli
2fb45def04 rayQuery test cases added 2020-03-23 21:34:09 -04:00
Neslisah Torosdagli
ae64363b19 rayQueryEXT function parameter 2020-03-23 21:05:26 -04:00
Neslisah Torosdagli
964c7e4a5f rayQueryEXT assignment is allowed. 2020-03-23 20:25:52 -04:00
Neslisah Torosdagli
4893bae5e9 test names updated 2020-03-23 19:20:24 -04:00
Kai Ninomiya
817d0f63d3 update README 2020-03-23 12:50:33 -07:00