79807811b5
README: Update testing section.
John Kessenich
2015-09-09 16:28:39 -06:00
0487d550d1
Merge pull request #69 from jekstrand/texel-fetch
John Kessenich
2015-09-09 16:33:45 -06:00
358dd560c5
Update test results for pull request #68, SPIRV: Decorate matrices and arrays with their strides.
John Kessenich
2015-09-09 16:19:15 -06:00
d2386d0ea9
Merge pull request #68 from jekstrand/stride-decorations
John Kessenich
2015-09-09 16:12:35 -06:00
023f7e00d0
Merge pull request #66 from chadversary/cmake-dont-override-install-prefix
John Kessenich
2015-09-09 15:52:29 -06:00
68e1c454da
Merge pull request #60 from xorgy/no-define-defined
John Kessenich
2015-09-09 15:45:23 -06:00
ebb7bf37fd
Remove executables from the source tree. This addresses issue #48.
John Kessenich
2015-09-09 15:32:38 -06:00
fc6189197d
SPIRV: Add the support of missing image functions #72
Rex Xu
2015-09-09 16:42:49 +08:00
d4782c10d4
SPIRV: Token layout of OpAtomicXXX instructions is incorrect #70
Rex Xu
2015-09-06 16:30:11 +08:00
0c81156c2d
SPIRV: Fix a comment issue
Rex Xu
2015-09-06 14:55:45 +08:00
18b9fbd742
SPIRV: Add support for texelFetch
Jason Ekstrand
2015-09-05 14:14:48 -07:00
54aedf1f66
SPIRV: Decorate matrices and arrays with their strides
Jason Ekstrand
2015-09-05 09:50:58 -07:00
4cbf748b13
cmake: Don't override CMAKE_INSTALL_PREFIX
Chad Versace
2015-08-31 14:27:04 -07:00
c8b2e36f52
Implement GL_KHR_blend_equation_advanced.
John Kessenich
2015-08-30 05:43:51 -06:00
7d3b73bfff
'defined' cannot be used as a macro name in #define or #undef.
Aaron Hamilton
2015-08-19 21:04:18 +00:00
d6c37b190b
GL_OES_shader_multisample_interpolation: Include scalar swizzles as valid for interpolateAt*.
John Kessenich
2015-08-22 16:54:35 -06:00
0fc4338f3e
Implement GL_OES_shader_multisample_interpolation, as well as core desktop versions of it.
John Kessenich
2015-08-22 01:21:47 -06:00
ba01ebd5ba
Link-check fix: Don't include built-in variables in the fragment output ES rule:
John Kessenich
2015-08-21 09:19:52 -06:00
78258d3d40
Fix misspelled EOpFrexp and EOpLdexp.
John Kessenich
2015-08-19 17:30:12 -06:00
fc51d284aa
Backward incompatible: Turn on PureOperatorBuiltins: use only enum-based built-in functions in the AST.
John Kessenich
2015-08-19 13:34:18 -06:00
a32d8f620d
Create last version before moving to pure enums for built-in functions.
John Kessenich
2015-08-19 12:13:44 -06:00
81639827d5
More preparation for pure built-in functions as enums: Add texturing op cracker.
John Kessenich
2015-08-19 10:46:52 -06:00
ef676b0a59
Front-end "pure" built-in TOperator: Finish adding full support, but still turned off.
John Kessenich
2015-08-18 23:17:15 -06:00
e88217b7d8
Add more TOperator: fma/frexp/ldexp, AddCarry/SubBorrow/MulExtended/Bit*/Find*, (un)pack4x8/2x32, ftransform.
John Kessenich
2015-08-18 17:00:37 -06:00
f5b2c06b32
Turn on the gpu_shader5 of the AEP .tesc test.
John Kessenich
2015-08-18 01:35:08 -06:00
156af43c25
Merge pull request #57 from google/glslang-android
John Kessenich
2015-08-17 10:27:11 -06:00
8b64fa5474
Fixes for compiling glslang on Android.
Andrew Woloszyn
2015-08-17 11:39:38 -04:00
fb5ba510ca
Implement GL_OES_shader_image_atomic.
John Kessenich
2015-08-16 23:40:15 -06:00
556ab3ac96
Implement GL_OES_sample_variables.
John Kessenich
2015-08-16 21:55:59 -06:00
a39159a192
Implement GL_OES_texture_storage_multisample_2d_array.
John Kessenich
2015-08-16 21:10:38 -06:00
2b0a11351f
Fix two multi-sample bugs: 1) include MS in name mangling, 2) add 'sample' argument texelFetch(*MS*,...).
John Kessenich
2015-08-16 21:04:07 -06:00
dc9eff7221
Implement GL_OES_texture_cube_map_array.
John Kessenich
2015-08-16 14:21:20 -06:00
302b46aebc
Implement GL_OES_texture_buffer.
John Kessenich
2015-08-16 12:52:19 -06:00
30314590ff
Implement GL_OES_primitive_bounding_box.
John Kessenich
2015-08-16 11:38:07 -06:00
cee88e3644
Whitespace in preprocessor results; trying to eliminate differences.
John Kessenich
2015-08-16 11:35:30 -06:00
fc9d2708cb
Merge pull request #56 from Psybrus/master
John Kessenich
2015-08-16 11:07:50 -06:00
c8a96f45f7
Fixed VS2015 build
Neil Richardson
2015-08-15 08:29:37 -07:00
f99b7dde08
Merge pull request #54 from mknejp/master
John Kessenich
2015-08-11 14:25:20 -06:00
c54ac79298
Merge pull request #55 from srk-lunarg/v31_type_fixes
John Kessenich
2015-08-11 14:24:34 -06:00
3573f2e029
Add missing OpTypeSampledImage to prevent unknown type error from SPVRemapper.
Steve
2015-08-11 09:20:14 -06:00
28f9b1c28d
SPIR-V: Return undefined values from implicit returns instead of dummy
Miro Knejp
2015-08-11 02:45:24 +02:00
65c78a0b62
Array of array: Implement the core functionality: types, constructors, operations.
John Kessenich
2015-08-10 17:08:55 -06:00
b35483587f
Array of Array prep: Turn a batch of 0's into nullptr or UnsizedArraySize.
John Kessenich
2015-08-09 14:27:34 -06:00
6726cccc91
Add new SPIR-V 31 files.
John Kessenich
2015-08-06 22:59:24 -06:00
5e4b1242bf
Move to revision 31 of SPIR-V.
John Kessenich
2015-08-06 22:53:06 -06:00
e24a74c320
Create last version before going to SPIR-V Revision 31.
John Kessenich
2015-08-06 22:19:45 -06:00
3473a4b98f
Merge pull request #53 from google/get-string-name-or-num
John Kessenich
2015-08-06 22:06:34 -06:00
306695360d
Fixes to 8f1684b7bb, merge pull request 52.
John Kessenich
2015-08-06 22:02:24 -06:00
8f1684b7bb
Merge pull request #52 from baldurk/gcc-warn-fixes
John Kessenich
2015-08-06 21:03:57 -06:00
50a40f4e21
Merge pull request #51 from baldurk/size-t-int-warning-fixes
John Kessenich
2015-08-06 20:43:13 -06:00
bb63bd5e37
Create a new method to return string name or number to DRY code.
Lei Zhang
2015-07-21 15:18:40 -04:00
d7c5ead6a1
Compile fixes for gcc -Wall
baldurk
2015-08-05 20:54:58 +02:00
36a78b5541
Remove unsigned/size_t downcast (warning when building on x64)
baldurk
2015-08-05 20:24:26 +02:00
0718e45c24
Merge pull request #50 from google/remove-unused-code
John Kessenich
2015-08-05 12:07:48 -06:00
1ee1f88b40
Remove unused members from TPpContext.
David Neto
2015-07-24 08:12:36 -04:00
d618070ab0
Merge pull request #46 from google/include-directive
John Kessenich
2015-08-05 10:29:23 -06:00
484bb12703
Create a new ppRequireExtensions method for preprocessor.
Lei Zhang
2015-08-05 11:56:14 -04:00
61d7d7ad73
Revisioning: Include GLSL.std.450 version. Also, the revision.h script now includes redirection to revision.h.
John Kessenich
2015-08-02 16:11:21 -06:00
0da9eaabe8
Version reporting: Restart active use of revision.h, now based on a git tag.
John Kessenich
2015-08-01 17:10:02 -06:00
14dec5300c
Update Linux binary
John Kessenich
2015-07-31 21:20:53 -06:00
1a08b48866
Update Window's binary
John Kessenich
2015-07-31 21:15:54 -06:00
1eed969b2d
Output wrapping #line directives for included content.
Lei Zhang
2015-07-06 10:32:46 -04:00
2b4ebbb1e1
Update scanner in TParseContext when changing the input stream.
Lei Zhang
2015-07-05 16:50:21 -04:00
9c1280b225
Use extension framework to enable #include directive.
Lei Zhang
2015-07-16 17:33:10 -04:00
7be4b8282d
Add #include processing to glslang (though turned off by default).
Dejan Mircevski
2015-06-17 11:40:33 -04:00
1363fcd60b
Merge pull request #45 from google/source-string-name
John Kessenich
2015-07-31 17:38:27 -06:00
1719fb207a
Add mechanism for specifying names for source strings.
Lei Zhang
2015-07-21 10:23:43 -04:00
b9e5424792
Non-functional: Slight change to the Google #include implementation to separate it from AEP.
John Kessenich
2015-07-28 19:01:16 -06:00
d9b89d3e9a
Merge pull request #43 from google/cpp-style-line-directive
John Kessenich
2015-07-28 18:55:44 -06:00
54e47cc275
Use const reference for TSourceLoc in interfaces.
Lei Zhang
2015-07-28 12:45:41 -04:00
780a2f4426
Use requireExtensions() to check extension and turn on more tests.
Lei Zhang
2015-07-28 11:59:24 -04:00
5011fbebc3
Extend the syntax of #line and __FILE__ to support filename strings.
Lei Zhang
2015-06-25 17:53:54 -04:00
c777fc2c4c
Scanning: 1) rationalize end-of-input everywhere, 2) prevent infinite loop at end-of-input, 3) use positive chars.
John Kessenich
2015-07-27 09:37:55 -06:00
91b977e172
Issue #39: Prevent problem of inserting a zero-length symbol after cascading errors.
John Kessenich
2015-07-25 18:14:09 -06:00
aead93aafd
Preprocessor: Allow '\' as a token, which gets actual use in #error, but should have no other use.
John Kessenich
2015-07-25 17:34:32 -06:00
f330f08129
Consolidate all token length limits (1024), including one bad one (80) hardcoded on the stack (issue #40, issue #41).
John Kessenich
2015-07-25 14:02:53 -06:00
1070e629a9
Merge pull request #44 from fkaa/osx-const-key-fix
John Kessenich
2015-07-25 12:51:02 -06:00
09d16c3ec1
Fix missing const qualifier on TUnorderedMap template type
Felix Kaaman
2015-07-25 16:31:50 +02:00
2b3442ada1
Portability: Make previous merge work with MSVS 2012.
John Kessenich
2015-07-24 15:15:55 -06:00
b159bd5821
Merge pull request #38 from google/preprocessing-line-number
John Kessenich
2015-07-24 15:05:17 -06:00
79f6451b53
DoPreprocessing() should consider source string change.
Lei Zhang
2015-07-09 16:58:42 -04:00
d67e15e9b4
Create a new class to keep track of line number in preprocessor.
Lei Zhang
2015-07-15 11:41:20 -04:00
62aa5bdfca
AST -> SPV testing: Update test for using new TbdFunctionality() that is non-fatal and uniquifies printed TBDs.
John Kessenich
2015-07-23 10:25:20 -06:00
426394d0c8
AST -> SPV: Add basic atomic_uint and atomic*() built-in function functionality.
John Kessenich
2015-07-23 10:22:48 -06:00
917ec4ac8c
Front-end atomics: Finish adding atomic built-in functions (non-image) into the AST.
John Kessenich
2015-07-22 19:58:15 -06:00
d1a6846ba2
Todo.txt: Added key, including notation for who's working on something.
John Kessenich
2015-07-22 16:39:12 -06:00
7ed16efaf6
Update Todo.txt.
John Kessenich
2015-07-22 16:36:38 -06:00
c040e76c58
Portability: Remove unneeded "= default" to work with older compilers.
John Kessenich
2015-07-22 15:24:53 -06:00
96d8042a64
Merge pull request #31 from google/explicit-extension-directive
John Kessenich
2015-07-22 15:20:54 -06:00
12a383379c
Issue 32: Guard against constructors consuming unsized arrays.
John Kessenich
2015-07-22 11:44:59 -06:00
f498400945
Merge pull request #33 from google/spv-builder-loop-ctor-inits-all-members
John Kessenich
2015-07-22 11:39:29 -06:00
3e6a33cedf
spv::Builder::Loop constructor inits all members.
David Neto
2015-07-17 17:11:22 -04:00
8ba301c7c2
Issue #28: Correctly handle a single input argument conversion when the input argument is an aggregate.
John Kessenich
2015-07-21 16:00:34 -06:00
1d2996db68
Only output explicit extension directives in preprocessing.
Lei Zhang
2015-07-16 18:34:55 -04:00
efb8461722
Issue #26: Detect empty array constructors, require at least on operand.
John Kessenich
2015-07-21 14:35:39 -06:00
222457054e
g++: Fix compilation issue with templates in g++.
John Kessenich
2015-07-21 00:07:52 -06:00
1056110c30
Perf: Put in a portable std::hash that works with the pool. This turns on the 10-15% perf gain.
John Kessenich
2015-07-20 23:59:32 -06:00
96f4911351
SPV: Make previous commit compile with MSVC 2012.
John Kessenich
2015-07-20 22:34:49 -06:00
37e8337958
Merge pull request #22 from google/structured-do-while
John Kessenich
2015-07-20 22:14:38 -06:00