John Kessenich [Mon, 6 Oct 2014 15:44:02 +0000 (15:44 +0000)]
Add missing gl_MaxGeometryTextureImageUnits.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28439
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 1 Oct 2014 01:08:21 +0000 (01:08 +0000)]
Remove dead call.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28368
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Sun, 28 Sep 2014 18:43:52 +0000 (18:43 +0000)]
Remove unneeded skeletal work.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28345
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Thu, 18 Sep 2014 13:12:00 +0000 (13:12 +0000)]
Nonfunctional: fix a typo.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28194
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Fri, 12 Sep 2014 17:25:16 +0000 (17:25 +0000)]
Have memory counters normally turned off, to avoid cross-windows-platform linking problems.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28078
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 8 Sep 2014 21:01:09 +0000 (21:01 +0000)]
Add option for printing documentation (empty).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27966
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Fri, 5 Sep 2014 17:36:54 +0000 (17:36 +0000)]
Add skeleton for generating documentation of a side project.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27950
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 25 Aug 2014 20:07:55 +0000 (20:07 +0000)]
Minor change in command-line options.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27840
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Sun, 24 Aug 2014 18:23:24 +0000 (18:23 +0000)]
Fix linux build error from last check in.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27836
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Sun, 24 Aug 2014 18:21:00 +0000 (18:21 +0000)]
Non-functional misc. changes. Slight increase in performance from moving two performance path methods into a header.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27835
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 19 Aug 2014 20:34:55 +0000 (20:34 +0000)]
update Window's binary
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27767
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 19 Aug 2014 20:34:40 +0000 (20:34 +0000)]
update linux binary
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27766
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 19 Aug 2014 20:32:48 +0000 (20:32 +0000)]
Implement write-only semantic checking, the non-r32f/i/u readonly/writeonly check, and ES 3.1 support of volatile. Also, fix a typo in MaxComputeGroupY.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27765
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 19 Aug 2014 06:10:12 +0000 (06:10 +0000)]
update Window's binary
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27762
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 19 Aug 2014 06:09:51 +0000 (06:09 +0000)]
update linux binary
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27761
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 19 Aug 2014 06:08:38 +0000 (06:08 +0000)]
Implement atomic counter offset semantics.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27760
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 19 Aug 2014 02:12:44 +0000 (02:12 +0000)]
Implement 'index' layout qualifier for fragment outputs. Based partly on a submission.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27759
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 18 Aug 2014 21:27:53 +0000 (21:27 +0000)]
Implement conservative depth layout qualifiers. Based partly on a submission.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27758
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 18 Aug 2014 19:42:35 +0000 (19:42 +0000)]
A patch submitted for MinGW building.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27757
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Fri, 15 Aug 2014 01:59:17 +0000 (01:59 +0000)]
update Window's binary
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27744
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Fri, 15 Aug 2014 01:50:47 +0000 (01:50 +0000)]
update linux binary
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27743
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Thu, 14 Aug 2014 23:30:11 +0000 (23:30 +0000)]
Turn on the sampler 2DMS types for ES 3.1.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27741
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Thu, 14 Aug 2014 20:05:57 +0000 (20:05 +0000)]
Add fma(), tie the 2x16 stuff to the correct versions.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27739
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Thu, 14 Aug 2014 19:45:52 +0000 (19:45 +0000)]
Implement frexp, ldexp, packUnorm2x16, unpackUnorm2x16, packUnorm4x8, packSnorm4x8, unpackUnorm4x8, unpackSnorm4x8, and unpackDouble2x32().
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27738
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Thu, 14 Aug 2014 07:18:07 +0000 (07:18 +0000)]
Update Window's binary.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27734
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Thu, 14 Aug 2014 07:16:53 +0000 (07:16 +0000)]
update linux binary
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27733
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Thu, 14 Aug 2014 07:07:21 +0000 (07:07 +0000)]
Miscellaneous ES 3.1 semantics, and identification of all missing features.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27732
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 13 Aug 2014 20:20:38 +0000 (20:20 +0000)]
Update Window's binary.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27731
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 13 Aug 2014 20:19:15 +0000 (20:19 +0000)]
update linux binary
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27730
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 13 Aug 2014 20:17:19 +0000 (20:17 +0000)]
Add -d option for desktop default for missing #version.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27729
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 13 Aug 2014 20:04:19 +0000 (20:04 +0000)]
Add the bitField built-in functions. Mark 330 as being complete.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27728
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 13 Aug 2014 16:54:02 +0000 (16:54 +0000)]
Implement GL_ARB_shader_texture_image_samples. Also add in gl_MaxSamples and the float imageAtomicExchange.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27721
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 13 Aug 2014 08:32:15 +0000 (08:32 +0000)]
Add ES 3.1 compatibility to 4.5 and the atomic memory functions (e.g. atomicAdd).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27715
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 13 Aug 2014 06:37:59 +0000 (06:37 +0000)]
Implement cull distances for GLSL 4.5 (but not as an extension yet, just a 4.5 feature).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27714
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 13 Aug 2014 04:15:56 +0000 (04:15 +0000)]
Implement GL_ARB_derivative_control.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27713
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 13 Aug 2014 01:04:28 +0000 (01:04 +0000)]
Finish virtually all of the remaining atomic counter functionality. Still need offset collision detection.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27712
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 12 Aug 2014 22:08:45 +0000 (22:08 +0000)]
Add ESSL 310 test results.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27711
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 12 Aug 2014 22:07:22 +0000 (22:07 +0000)]
Turn on ESSL 3.1 for most features:
- images: load/store, memory qualifiers
- buffer blocks
- compute shaders
- atomic counters
- texture gather
- SSO
- uniform locations
- all the numeric-based version # comparisons
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27710
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 12 Aug 2014 03:52:51 +0000 (03:52 +0000)]
Partial implementation of atomic counters.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27701
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 12 Aug 2014 03:23:43 +0000 (03:23 +0000)]
Remove the now dead 'shared' type field, and add semantic check for buffer on non-block.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27700
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 12 Aug 2014 02:11:55 +0000 (02:11 +0000)]
Turn on basic support for shader storage buffer objects, but not yet the entire extension.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27699
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 11 Aug 2014 02:32:30 +0000 (02:32 +0000)]
Finish implementing compute shaders, within #version 430, partly based on a submission.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27674
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Sun, 10 Aug 2014 18:19:36 +0000 (18:19 +0000)]
Implement GL_ARB_shader_image_load_store. Partly done (format layout qualifiers) from a submission.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27670
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Sat, 9 Aug 2014 22:09:03 +0000 (22:09 +0000)]
Test update.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27662
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 29 Jul 2014 19:31:13 +0000 (19:31 +0000)]
Implement most of GL_ARB_explicit_attrib_location (all but index on fragment output).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27545
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 29 Jul 2014 18:28:31 +0000 (18:28 +0000)]
Fix assert firing in debug mode from last check in.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27543
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 29 Jul 2014 18:11:09 +0000 (18:11 +0000)]
Finish implement GL_ARB_texture_lod; adding the 19 additional *ARB() built-ins to the 11 non-*ARB() that were already supported.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27542
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 29 Jul 2014 17:18:24 +0000 (17:18 +0000)]
Add the original-style texture-rectangle texturing functions, and allow rectangular samplers to be declared under relaxed semantic checks.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27538
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 29 Jul 2014 16:06:05 +0000 (16:06 +0000)]
Update test results (test changed).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27536
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 28 Jul 2014 04:22:26 +0000 (04:22 +0000)]
Fix g++ build complaint.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27520
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 28 Jul 2014 04:21:04 +0000 (04:21 +0000)]
Create dummy side project.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27519
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Thu, 10 Jul 2014 23:49:21 +0000 (23:49 +0000)]
Fix bug where non-constant test in ?: on a constant results thought the result was const, when it is really a temporary.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27291
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Fri, 27 Jun 2014 06:17:16 +0000 (06:17 +0000)]
Non-functional: Encapsulate testing for IO that is supposed to be arrayed with extra level for per-vertex data.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27169
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 23 Jun 2014 23:30:48 +0000 (23:30 +0000)]
Update test result.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27129
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 18 Jun 2014 23:02:00 +0000 (23:02 +0000)]
Add more allowances for relaxed error checking mode: Warn instead of error on use of a disabled extension, allow 'f' suffix on floating point literals, and allow #version after tokens.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27113
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Thu, 5 Jun 2014 16:30:53 +0000 (16:30 +0000)]
Non-functional trivial clean up.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26972
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 3 Jun 2014 19:28:48 +0000 (19:28 +0000)]
Add partial support for GL_ARB_shader_texture_lod.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26945
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 3 Jun 2014 00:20:41 +0000 (00:20 +0000)]
Add missing matrix constructor test, and add a size() method for downstream consumers of constArrays.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26937
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 27 May 2014 01:34:38 +0000 (01:34 +0000)]
Fix, and add missing tests for, error catching for applying swizzles to arrays.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26858
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 14 May 2014 02:38:14 +0000 (02:38 +0000)]
Fix bug where an anonymous member of a built-in block containing another member with an implicitly-sized array caused two copies of the block to be referenced.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26633
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 14 May 2014 00:40:30 +0000 (00:40 +0000)]
Update Windows executable.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26631
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 14 May 2014 00:38:21 +0000 (00:38 +0000)]
Update readme for no .so
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26630
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 14 May 2014 00:13:32 +0000 (00:13 +0000)]
update Linux binary, no .so needed
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26627
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 14 May 2014 00:12:51 +0000 (00:12 +0000)]
No longer using a shared object model.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26626
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 12 May 2014 18:12:04 +0000 (18:12 +0000)]
Non-functional tweak to hidden-member (of anonymous block) semantics.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26610
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Sun, 11 May 2014 01:07:31 +0000 (01:07 +0000)]
Finish GL_ARB_shading_language_420pack: *ProgramTexelOffset built-in constants. Also, make comma operation not fold constants.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26602
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Sat, 10 May 2014 22:24:50 +0000 (22:24 +0000)]
420Pack: Implement length() on vectors and matrices. Also, tweak line-continuation semantics to understand the extension.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26601
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Sat, 10 May 2014 19:52:01 +0000 (19:52 +0000)]
Code simplification: Add (and use) helper functions for building constant scalar AST nodes for bool, int, uint, float, and double, shortening all the code segments that were doing that.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26600
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Thu, 8 May 2014 23:57:13 +0000 (23:57 +0000)]
Add access methods for consuming adapters to get the top-level shader modes like number of invocations, vertex spacing, primitives, etc.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26586
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 6 May 2014 22:58:55 +0000 (22:58 +0000)]
Prevent crash when bad shader redeclares built-in array names it is not supposed to redeclare.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26520
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 6 May 2014 06:02:01 +0000 (06:02 +0000)]
Implement implicit conversions on function return expressions to the function's type.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26501
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Thu, 1 May 2014 16:48:18 +0000 (16:48 +0000)]
Change ERROR to WARNING to finish fixing bug 11904, comment 3: bug 11856 resolved to drop the ERROR regarding no statements after the last label in the switch.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26479
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 29 Apr 2014 23:09:26 +0000 (23:09 +0000)]
Improve the 150.geom test.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26445
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Thu, 24 Apr 2014 22:38:50 +0000 (22:38 +0000)]
Allow the pre-150 built-in redeclarations when using SSO: gl_Position, gl_PointSize, gl_ClipVertex, and gl_FogFragCoord.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26399
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 22 Apr 2014 19:06:23 +0000 (19:06 +0000)]
Just make computeTypeLocationSize const.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26354
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 14 Apr 2014 22:08:16 +0000 (22:08 +0000)]
Establish desktop completeness through version 1.50. (gl_MaxVaryingFloats, implicit-cconversion safety, cube-sampler-array fix, add tests)
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26253
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 14 Apr 2014 16:14:30 +0000 (16:14 +0000)]
Two missing test file sources.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26230
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 14 Apr 2014 16:11:00 +0000 (16:11 +0000)]
Correct the test results from the last check in.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26229
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 14 Apr 2014 16:10:01 +0000 (16:10 +0000)]
Add missing tests and test results.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26228
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 14 Apr 2014 15:46:40 +0000 (15:46 +0000)]
Restore r26245 and all tests and test results since 4/1:
r26245: Remove "not yet complete" warning for versions 130 and 140, after tidying up a bit and adding tests. Token pasting is the only known missing feature, and gives its own message now on use.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26226
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 14 Apr 2014 15:07:33 +0000 (15:07 +0000)]
Restore r26192, r26240, r26241: Two missing files from last check in.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26224
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 14 Apr 2014 14:59:51 +0000 (14:59 +0000)]
Restore r26192, r26240, r26241: All three about implicit-array sizing design and implementation. *Minus* test results.
r26192: Link-time sizing of implicitly-sized arrays and handling of anonymous blocks containing implicitly-sized members. Also changed "__anon" to "anon@" and encapsulated it.
r26240: Solidify the sharing of struct and array information between nodes and variables: A single copy now allows for simultaneously setting array size for all effected nodes and symbols of a given type. This allowed removal of ioArrayNodeResizeList and makes nodes of implicitly sized arrays know the final size.
r26241: Fix g++ issue with wanting non-const iterator.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26218
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 14 Apr 2014 14:45:55 +0000 (14:45 +0000)]
Restore r26190: make code PIC
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26211
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 2 Apr 2014 02:27:26 +0000 (02:27 +0000)]
Non-functional, infrastructure: Be more explicit about "implicit array sizes", improving the infrastructure for handling them. Also fix some output that was too big for its buffer.
There is more upcoming functionality for link-time sizing of implicitly-sized arrays that will use this.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26176
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 31 Mar 2014 22:20:47 +0000 (22:20 +0000)]
Track which extensions were enabled or required, in the intermediate representation, for reflection of the consumer.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26155
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 31 Mar 2014 00:10:51 +0000 (00:10 +0000)]
CMake fix for Linux for previous check in
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26138
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 31 Mar 2014 00:06:32 +0000 (00:06 +0000)]
CMake: Collapse into a single library all the libraries under the glslang directory, and represent the proper hierarchy in MSVS. There are still a total of 3 libraries to link against: glslang, OGLCompiler, and OSDependent.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26137
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Fri, 28 Mar 2014 18:07:35 +0000 (18:07 +0000)]
Make use of the v110 tool set be Win32 specific.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26127
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Fri, 28 Mar 2014 17:49:10 +0000 (17:49 +0000)]
Add getStage() and getIntermediate() methods for consumers. Also removed dead options and update test file.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26126
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 26 Mar 2014 03:17:31 +0000 (03:17 +0000)]
Expand implicit argument conversions to also include handling built-in function calls.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26080
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 17 Mar 2014 23:56:45 +0000 (23:56 +0000)]
Allow selection of the "Platform Toolset", so that XP binaries can be built.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25952
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Mon, 17 Mar 2014 22:48:25 +0000 (22:48 +0000)]
Make switch statements have their own nested scope (bug 11904).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25949
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Sun, 16 Mar 2014 23:18:34 +0000 (23:18 +0000)]
Additional test results for previous check in.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25913
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Sun, 16 Mar 2014 23:03:07 +0000 (23:03 +0000)]
Implement implicit conversions of function-call arguments (both in and out) as explicit conversions in the AST, through handleArgumentConversions().
Also
- uniformly handle EvqConstReadOnly as an input argument in a function, with
isParamInput() and isParamOutput() queries in TQualifier.
- provide a makeTemporary() in TQualifier, for erasing original qualification when making a temp
- provide a makeInternalVariable() call to make a shader variable not seen in the shader source
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25912
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Fri, 14 Mar 2014 17:47:46 +0000 (17:47 +0000)]
remove bison-generated header from library dependencies
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25897
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Fri, 14 Mar 2014 17:32:51 +0000 (17:32 +0000)]
Add new Linux set up script.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25896
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Wed, 12 Mar 2014 02:34:44 +0000 (02:34 +0000)]
Allow choice of DLL or static CRT libraries through CMake options.
Also, some trivial miscellaneous build-related changes.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25811
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 11 Mar 2014 06:35:42 +0000 (06:35 +0000)]
update Linux build for latest CMake changes from Windows
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25793
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Tue, 11 Mar 2014 02:10:26 +0000 (02:10 +0000)]
Add CMake support for Visual Studio and installation, with an expected "install" for CMAKE_INSTALL_PREFIX, and updated test scripts to consume the CMake installation.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25791
e7fa87d3-cd2b-0410-9028-
fcbf551c1848
John Kessenich [Sat, 8 Mar 2014 00:17:27 +0000 (00:17 +0000)]
Use more modern bison %parse-param and %lex-param rather than #defined YYPARSE_PARAM and YYLEX_PARAM. This should make it build across a broader range of modern versions of bison, as well as avoid void* and type casting.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25746
e7fa87d3-cd2b-0410-9028-
fcbf551c1848