John Kessenich
|
eebb20511f
|
Merge pull request #11 from baldurk/size-t-int-warning-fixes
Fix warnings compiling on x64 with size_t to int casts
|
2015-07-14 12:25:55 -06:00 |
|
John Kessenich
|
f98ee23415
|
Fix incorrect used of snprintf()
|
2015-07-12 19:39:51 -06:00 |
|
John Kessenich
|
68d78fd31e
|
Updated command-line options, adding -o for saving binaries, -G for OpenGL SPIR-V validation, -v etc.
Old uses should still work as they did before.
Also encapsulated use of these flags during parsing, for the parse context.
Added SPIR-V version to -v.
|
2015-07-12 19:28:10 -06:00 |
|
baldurk
|
d76692dfb8
|
on x64, size_t is 64-bit and int is 32-bit, so needs an explicit cast
|
2015-07-12 11:32:58 +02:00 |
|
baldurk
|
42169c5fee
|
include by relative path, so root doesn't need to be in the search path
|
2015-07-08 15:27:29 +02:00 |
|
John Kessenich
|
e0603a441e
|
Front-end: move to rational internal array-of-array interfaces and design. (A-of-A is not yet implemented though.)
|
2015-07-06 21:00:03 -06:00 |
|
John Kessenich
|
ec43d0abec
|
glslang -> SPIR-V: smear scalars for integer (scalar * vector). OpVectorTimesScalar is only for floats.
|
2015-07-04 17:17:31 -06:00 |
|
John Kessenich
|
140f3df134
|
Final round for line endings.
|
2015-06-26 16:58:36 -06:00 |
|
John Kessenich
|
e5e0f6e37a
|
glslang -> SPV: swap arguments as needed for OpVectorTimesScalar and OpMatrixTimesScalar, and check for correct types for those as well as OpMatrixTimesVector, OpVectorTimesMatrix, and OpMatrixTimesMatrix.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31486 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-06-13 00:48:48 +00:00 |
|
John Kessenich
|
8d64d44c3f
|
glslang -> SPV: fix degenerate switch topologies (bug 14118).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31485 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-06-12 22:34:37 +00:00 |
|
John Kessenich
|
fae38ee277
|
glslang portability: Fixed a slew of OSX compilation warnings (but not all).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31469 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-06-10 23:23:12 +00:00 |
|
John Kessenich
|
79eaa91e6f
|
glslang portability: Resolve OSX errors, some other OS warnings.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31468 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-06-10 22:05:48 +00:00 |
|
John Kessenich
|
06e1d0b434
|
glslang -> SPV: Improvements in swizzles on access chains: Bug 14007 (wrong type), simplications, tests, support mixed swizzle with dynamic component selection.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31277 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-22 21:57:58 +00:00 |
|
John Kessenich
|
6b3fd19d89
|
glslang -> SPV: add decorations for built-ins that are inside blocks.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31266 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-22 01:53:15 +00:00 |
|
John Kessenich
|
ea543986f9
|
glslang -> SPV: translate the source profile to the SPV source language.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31265 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-22 01:21:31 +00:00 |
|
John Kessenich
|
40e391184c
|
glslang -> SPV: Use the new TBuiltInVariable instead of string compares to get the type of SPV built in. Also fixed gl_FragData and gl_PrimitiveIDIn.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31226 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-18 23:25:32 +00:00 |
|
John Kessenich
|
ca3457f1a7
|
glslang: Fix a few more warnings, and see it using nullptr causes anyone problems (testing c++11 portability).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31218 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-18 01:59:45 +00:00 |
|
John Kessenich
|
593a3f7f6b
|
glslang -> SPV: improved support for do-while/continue. Contributed by David Neto (dneto@google.com).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31205 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-15 18:44:16 +00:00 |
|
John Kessenich
|
93dfbe1309
|
glslang: Fix over 100 warnings from MSVC warning level 4.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31202 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-05-15 17:30:55 +00:00 |
|
John Kessenich
|
bcef333a78
|
SPV: Emit layout(index=) as Index decoration.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30939 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-04-27 10:03:25 +00:00 |
|
John Kessenich
|
9a3399450a
|
glslang -> SPIR-V: some built-in decoration code was turned off; turn it on.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30466 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-04-01 20:35:23 +00:00 |
|
John Kessenich
|
b40d6ac9e7
|
glslang AST -> SPIR-V: Move to new auto-generated official headers, and for the disassembler, mirror the split done between the auto-generation header database and the specification.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30434 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-03-30 17:41:16 +00:00 |
|
John Kessenich
|
1f77cacd69
|
glslang -> SPIR-V: Correct code generated for EmitStreamVertex and EndStreamPrimitive.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30270 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-03-24 00:32:50 +00:00 |
|
John Kessenich
|
0df0cdeeeb
|
glslangValidator: Add straightforward SPIR-V support (non-optimizing, ~3.x functionality).
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30032 e7fa87d3-cd2b-0410-9028-fcbf551c1848
|
2015-03-03 17:09:43 +00:00 |
|