- Jun 05, 2017
-
-
John Kessenich authored
-
- Mar 15, 2017
-
-
John Kessenich authored
Makes some white-space differences in most output, plus a few cases where more could have been put out but was cut short by the previous fix-sized buffer.
-
- Dec 10, 2016
-
-
John Kessenich authored
Fixes issue #610. Also provides a testing option to keep uncalled functions.
-
- Aug 03, 2016
-
-
John Kessenich authored
From the ES spec + Bugzilla 15931 and GL_KHR_vulkan_glsl: - Update precision qualifiers for all built-in function prototypes. - Implement the new algorithm used to distinguish built-in function operation precisions from result precisions. Also add tracking of separate result and operation precisions, and use that in generating SPIR-V. (SPIR-V cares about precision of operation, while the front-end cares about precision of result, for propagation.)
-
- Jun 30, 2016
-
-
John Kessenich authored
See issue #350 for detail. This may be an ESSL specification issue.
-
- Jun 15, 2016
-
-
John Kessenich authored
-
- May 09, 2016
-
-
scygan authored
This change causes ES shaders to precision qualifiers for build-in functions as defined in ESSL spec. It especially mattersfor functions that are defined as highp or taking a highp. Fixes vulkanCTS dEQP-VK.glsl.builtin.function.integer.bitfieldreverse.*, where bitfieldReverse() retval was wrongly marked as RelaxedPrecision. Note: floatBitsToInt/floatBitsToUInt precision is also broken, but in different way - so it is not addressed here.
-
- May 04, 2016
-
-
John Kessenich authored
This partly overlaps pull request #222, we have divided the work on this one.
-
John Kessenich authored
This is a replacement commit for pull request #238. This is a design change, followed by implementation change that A) fixes the changes caused by the design change, and B) fixes some cases that were originally incorrect. The design change is to not give built-in functions default precision qualification. This is to allow the rule that the precision of some built-in functions adopt their precision qualification from the calling arguments. This is A above. A consequence of this design change is that all built-ins that are supposed to have an explicit precision qualifier must now be declared that way. So, a lot more built-in declarations now have precision qualifiers, just to keep things the same. This is B above.
-
- Dec 11, 2015
-
-
John Kessenich authored
-
- Dec 07, 2015
-
-
John Kessenich authored
-
- Oct 05, 2015
-
-
John Kessenich authored
-
- Oct 01, 2015
-
-
John Kessenich authored
4 components are needed when used a texture, but not an image, which multiplies layers and faces into the same coordinate. This fixes it from using 4 everywhere, to only using 4 for textures and 3 for images.
-
John Kessenich authored
-
- Aug 22, 2015
-
-
John Kessenich authored
-
- Aug 19, 2015
-
-
John Kessenich authored
Backward incompatible: Turn on PureOperatorBuiltins: use only enum-based built-in functions in the AST. If this breaks your AST consumer, best is to modify it to test against the enum values instead of doing string comparisons on built-in function names. This is the reason the change was made. If you need the old behavior, you should be able to get it back by changing PureOperatorBuiltins to be false instead of true. This path will work for a while, but is marked deprecated. Also, the old behavior is tagged as release 2.4.
-
John Kessenich authored
Add more TOperator: fma/frexp/ldexp, AddCarry/SubBorrow/MulExtended/Bit*/Find*, (un)pack4x8/2x32, ftransform. Also corrects some existing ones missing the "Op" part of their name.
-
- Aug 17, 2015
-
-
John Kessenich authored
-
John Kessenich authored
-
John Kessenich authored
Fix two multi-sample bugs: 1) include MS in name mangling, 2) add 'sample' argument texelFetch(*MS*,...).
-
- Aug 16, 2015
-
-
John Kessenich authored
-
John Kessenich authored
-
- Aug 10, 2015
-
-
John Kessenich authored
There will be subsequent commits to refine semantics, esp. version-specific semantics, as well as I/O functionality and restrictions. Note: I'm getting white-space differences in the preprocessor test results, which I'm not checking in. I think they need to be tagged as binary or something.
-
- Jul 16, 2015
-
-
John Kessenich authored
-
- Jul 15, 2015
-
-
John Kessenich authored
Also seems to pick up some white-space (line-ending) test differences with a prevoius checkin.
-
- Jul 07, 2015
-
-
John Kessenich authored
Front-end: move to rational internal array-of-array interfaces and design. (A-of-A is not yet implemented though.)
-
- Jun 19, 2015
-
-
John Kessenich authored
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31538 e7fa87d3-cd2b-0410-9028-fcbf551c1848
-
- Jun 15, 2015
-
-
John Kessenich authored
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31490 e7fa87d3-cd2b-0410-9028-fcbf551c1848
-
- Jun 12, 2015
-
-
John Kessenich authored
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31484 e7fa87d3-cd2b-0410-9028-fcbf551c1848
-
- May 18, 2015
-
-
John Kessenich authored
glslang: Formally track all built-in variables, right from the beginning, to enable avoiding all textual compares at any subsequent stage in the stack. (To be used in future check ins.) git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31224 e7fa87d3-cd2b-0410-9028-fcbf551c1848
-
- May 11, 2015
-
-
John Kessenich authored
glslang parser: Arrays-of-arrays name-mangling and error messages (lots of A-of-A stuff to come a bit later). This patch from Google, David Neto <dneto@google.com>. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31137 e7fa87d3-cd2b-0410-9028-fcbf551c1848
-
- Apr 29, 2015
-
-
John Kessenich authored
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30975 e7fa87d3-cd2b-0410-9028-fcbf551c1848
-
John Kessenich authored
glslang AST output: include global vs. temp (local) in the printed output. This only effects test results, but a future check-in is going to fix some globals. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30973 e7fa87d3-cd2b-0410-9028-fcbf551c1848
-
- Oct 28, 2014
-
-
John Kessenich authored
• An array of arrays • An array of structures • A structure containing an array • A structure containing a structure git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28745 e7fa87d3-cd2b-0410-9028-fcbf551c1848
-
- Aug 14, 2014
-
-
John Kessenich authored
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27741 e7fa87d3-cd2b-0410-9028-fcbf551c1848
-
John Kessenich authored
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
-
- Aug 13, 2014
-
-
John Kessenich authored
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27728 e7fa87d3-cd2b-0410-9028-fcbf551c1848
-
- Aug 12, 2014
-
-
John Kessenich authored
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@27711 e7fa87d3-cd2b-0410-9028-fcbf551c1848
-