d21e82dff0
update linux binary
John Kessenich
2014-08-15 01:50:47 +00:00
a3d8557a44
Turn on the sampler 2DMS types for ES 3.1.
John Kessenich
2014-08-14 23:30:11 +00:00
58f5a5e77a
Add fma(), tie the 2x16 stuff to the correct versions.
John Kessenich
2014-08-14 20:05:57 +00:00
0a33592810
Implement frexp, ldexp, packUnorm2x16, unpackUnorm2x16, packUnorm4x8, packSnorm4x8, unpackUnorm4x8, unpackSnorm4x8, and unpackDouble2x32().
John Kessenich
2014-08-14 19:45:52 +00:00
122c5f199b
Update Window's binary.
John Kessenich
2014-08-14 07:18:07 +00:00
8455e46f03
update linux binary
John Kessenich
2014-08-14 07:16:53 +00:00
b3007519fc
Miscellaneous ES 3.1 semantics, and identification of all missing features.
John Kessenich
2014-08-14 07:07:21 +00:00
f014740066
Update Window's binary.
John Kessenich
2014-08-13 20:20:38 +00:00
f416b5572b
update linux binary
John Kessenich
2014-08-13 20:19:15 +00:00
26ad268037
Add -d option for desktop default for missing #version.
John Kessenich
2014-08-13 20:17:19 +00:00
be70339296
Add the bitField built-in functions. Mark 330 as being complete.
John Kessenich
2014-08-13 20:04:19 +00:00
cd77f8e922
Implement GL_ARB_shader_texture_image_samples. Also add in gl_MaxSamples and the float imageAtomicExchange.
John Kessenich
2014-08-13 16:54:02 +00:00
df1d81a958
Add ES 3.1 compatibility to 4.5 and the atomic memory functions (e.g. atomicAdd).
John Kessenich
2014-08-13 08:32:15 +00:00
699684180f
Implement cull distances for GLSL 4.5 (but not as an extension yet, just a 4.5 feature).
John Kessenich
2014-08-13 06:37:59 +00:00
13fd6c9dd7
Implement GL_ARB_derivative_control.
John Kessenich
2014-08-13 04:15:56 +00:00
265f5fb80e
Finish virtually all of the remaining atomic counter functionality. Still need offset collision detection.
John Kessenich
2014-08-13 01:04:28 +00:00
3dd035b68b
Add ESSL 310 test results.
John Kessenich
2014-08-12 22:08:45 +00:00
4d57090da5
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
John Kessenich
2014-08-12 22:07:22 +00:00
bedb1bc2db
Partial implementation of atomic counters.
John Kessenich
2014-08-12 03:52:51 +00:00
cc7f4eb5a0
Remove the now dead 'shared' type field, and add semantic check for buffer on non-block.
John Kessenich
2014-08-12 03:23:43 +00:00
67cf1f6179
Turn on basic support for shader storage buffer objects, but not yet the entire extension.
John Kessenich
2014-08-12 02:11:55 +00:00
79cddfcb56
Finish implementing compute shaders, within #version 430, partly based on a submission.
John Kessenich
2014-08-11 02:32:30 +00:00
ddea678e3e
Implement GL_ARB_shader_image_load_store. Partly done (format layout qualifiers) from a submission.
John Kessenich
2014-08-10 18:19:36 +00:00
e4423f5da1
Test update.
John Kessenich
2014-08-09 22:09:03 +00:00
f856599601
Implement most of GL_ARB_explicit_attrib_location (all but index on fragment output).
John Kessenich
2014-07-29 19:31:13 +00:00
8aa57c3c15
Fix assert firing in debug mode from last check in.
John Kessenich
2014-07-29 18:28:31 +00:00
b9fc145387
Finish implement GL_ARB_texture_lod; adding the 19 additional *ARB() built-ins to the 11 non-*ARB() that were already supported.
John Kessenich
2014-07-29 18:11:09 +00:00
019a62b0ec
Add the original-style texture-rectangle texturing functions, and allow rectangular samplers to be declared under relaxed semantic checks.
John Kessenich
2014-07-29 17:18:24 +00:00
0bed221e59
Update test results (test changed).
John Kessenich
2014-07-29 16:06:05 +00:00
700f9dcbf1
Fix g++ build complaint.
John Kessenich
2014-07-28 04:22:26 +00:00
92f9038388
Create dummy side project.
John Kessenich
2014-07-28 04:21:04 +00:00
d3c123a034
Fix bug where non-constant test in ?: on a constant results thought the result was const, when it is really a temporary.
John Kessenich
2014-07-10 23:49:21 +00:00
a63faa7907
Non-functional: Encapsulate testing for IO that is supposed to be arrayed with extra level for per-vertex data.
John Kessenich
2014-06-27 06:17:16 +00:00
34d687512a
Update test result.
John Kessenich
2014-06-23 23:30:48 +00:00
7e991e7be1
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.
John Kessenich
2014-06-18 23:02:00 +00:00
fd30542a0f
Non-functional trivial clean up.
John Kessenich
2014-06-05 16:30:53 +00:00
3591930f23
Add partial support for GL_ARB_shader_texture_lod.
John Kessenich
2014-06-03 19:28:48 +00:00
9dedb13447
Add missing matrix constructor test, and add a size() method for downstream consumers of constArrays.
John Kessenich
2014-06-03 00:20:41 +00:00
974258d88f
Fix, and add missing tests for, error catching for applying swizzles to arrays.
John Kessenich
2014-05-27 01:34:38 +00:00
6e62d92cfb
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.
John Kessenich
2014-05-14 02:38:14 +00:00
9854f21010
Update Windows executable.
John Kessenich
2014-05-14 00:40:30 +00:00
9b3f9e5243
Update readme for no .so
John Kessenich
2014-05-14 00:38:21 +00:00
7cc052baf1
update Linux binary, no .so needed
John Kessenich
2014-05-14 00:13:32 +00:00
6a245921d8
No longer using a shared object model.
John Kessenich
2014-05-14 00:12:51 +00:00
ad47ee8909
Non-functional tweak to hidden-member (of anonymous block) semantics.
John Kessenich
2014-05-12 18:12:04 +00:00
bae44b74d4
Finish GL_ARB_shading_language_420pack: *ProgramTexelOffset built-in constants. Also, make comma operation not fold constants.
John Kessenich
2014-05-11 01:07:31 +00:00
0b9e112da6
420Pack: Implement length() on vectors and matrices. Also, tweak line-continuation semantics to understand the extension.
John Kessenich
2014-05-10 22:24:50 +00:00
7c257eb108
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.
John Kessenich
2014-05-10 19:52:01 +00:00
a92c30ed23
Add access methods for consuming adapters to get the top-level shader modes like number of invocations, vertex spacing, primitives, etc.
John Kessenich
2014-05-08 23:57:13 +00:00
d7dfe2c2b2
Prevent crash when bad shader redeclares built-in array names it is not supposed to redeclare.
John Kessenich
2014-05-06 22:58:55 +00:00
8a1a4a7a8b
Implement implicit conversions on function return expressions to the function's type.
John Kessenich
2014-05-06 06:02:01 +00:00
2ea882fdae
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.
John Kessenich
2014-05-01 16:48:18 +00:00
8d6ce1c227
Improve the 150.geom test.
John Kessenich
2014-04-29 23:09:26 +00:00
f000058fd9
Allow the pre-150 built-in redeclarations when using SSO: gl_Position, gl_PointSize, gl_ClipVertex, and gl_FogFragCoord.
John Kessenich
2014-04-24 22:38:50 +00:00
040b8ca9d4
Just make computeTypeLocationSize const.
John Kessenich
2014-04-22 19:06:23 +00:00
e96ee859a8
Establish desktop completeness through version 1.50. (gl_MaxVaryingFloats, implicit-cconversion safety, cube-sampler-array fix, add tests)
John Kessenich
2014-04-14 22:08:16 +00:00
447c65c978
Two missing test file sources.
John Kessenich
2014-04-14 16:14:30 +00:00
263a134edd
Correct the test results from the last check in.
John Kessenich
2014-04-14 16:11:00 +00:00
2bbd2a3be8
Add missing tests and test results.
John Kessenich
2014-04-14 16:10:01 +00:00
cf0206c341
Restore r26245 and all tests and test results since 4/1:
John Kessenich
2014-04-14 15:46:40 +00:00
dd09c05e5b
Restore r26192, r26240, r26241: Two missing files from last check in.
John Kessenich
2014-04-14 15:07:33 +00:00
150b7acd9a
Restore r26192, r26240, r26241: All three about implicit-array sizing design and implementation. *Minus* test results.
John Kessenich
2014-04-14 14:59:51 +00:00
078c010de7
Restore r26190: make code PIC
John Kessenich
2014-04-14 14:45:55 +00:00
f2d042a1fe
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.
John Kessenich
2014-04-02 02:27:26 +00:00
b4ef9e0d56
Track which extensions were enabled or required, in the intermediate representation, for reflection of the consumer.
John Kessenich
2014-03-31 22:20:47 +00:00
ea4ae7c3ad
CMake fix for Linux for previous check in
John Kessenich
2014-03-31 00:10:51 +00:00
fde703438f
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.
John Kessenich
2014-03-31 00:06:32 +00:00
e564fc5e85
Make use of the v110 tool set be Win32 specific.
John Kessenich
2014-03-28 18:07:35 +00:00
585982e32a
Add getStage() and getIntermediate() methods for consumers. Also removed dead options and update test file.
John Kessenich
2014-03-28 17:49:10 +00:00
f5dd2f5c7c
Expand implicit argument conversions to also include handling built-in function calls.
John Kessenich
2014-03-26 03:17:31 +00:00
0af1e7c608
Allow selection of the "Platform Toolset", so that XP binaries can be built.
John Kessenich
2014-03-17 23:56:45 +00:00
71e01cbab9
Make switch statements have their own nested scope (bug 11904).
John Kessenich
2014-03-17 22:48:25 +00:00
c63759ef01
Additional test results for previous check in.
John Kessenich
2014-03-16 23:18:34 +00:00
75694fdacd
Implement implicit conversions of function-call arguments (both in and out) as explicit conversions in the AST, through handleArgumentConversions().
John Kessenich
2014-03-16 23:03:07 +00:00
e5d92eb194
remove bison-generated header from library dependencies
John Kessenich
2014-03-14 17:47:46 +00:00
d0848e0ef1
Add new Linux set up script.
John Kessenich
2014-03-14 17:32:51 +00:00
71241d8221
Allow choice of DLL or static CRT libraries through CMake options.
John Kessenich
2014-03-12 02:34:44 +00:00
3ce1058dbe
update Linux build for latest CMake changes from Windows
John Kessenich
2014-03-11 06:35:42 +00:00
d18e2d8adc
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.
John Kessenich
2014-03-11 02:10:26 +00:00
6b57784690
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.
John Kessenich
2014-03-08 00:17:27 +00:00
8922ce7353
Fix bug 11736: Minor glslang compilation fixes: Correct "currentChar" logic for recently switched to unsigned size_t locations, and protect more pool guard code with #ifdef.
John Kessenich
2014-02-24 21:36:08 +00:00
b35e9bfa21
Track things like "(3)" and "+3" as expressions, not literals.
John Kessenich
2014-02-24 21:16:19 +00:00
35f04bde8a
Make 64-bit VS compile clean. Mostly size_t vs. int tweaks.
John Kessenich
2014-02-19 02:47:20 +00:00
8922da24a4
Check in a much improved submitted set of makefiles for Linux builds. This eliminates dependencies on system headers, and generally simplifies the makefiles.
John Kessenich
2014-02-19 01:00:58 +00:00
2023368ce1
Correct newlines and executable bit for BuildLinuxCMake.sh
John Kessenich
2014-02-19 00:27:03 +00:00
0547c2a6bb
Add submitted CMake files for Linux builds. All existing ways of building remain in tact.
John Kessenich
2014-02-19 00:18:25 +00:00
6494baf371
Check-in a couple submitted char* string portability bug fixes: correct sizing of buffers and stop overwriting preprocessor token names with themselves.
John Kessenich
2014-02-19 00:08:59 +00:00
51cdd90fa8
Fix the few non-portable uses of "char" (where a -1 might be relevant): All uses of char are now either "int", "unsigned char" or char arrays for storing strings. Also, went to consistent "char* foo" coding convention. (There were only a few ambiguous uses.)
John Kessenich
2014-02-18 23:37:57 +00:00
52c351442c
Update rules for "GL_", "gl_", and "__" to match latest specification bug fixes.
John Kessenich
2014-02-18 21:55:42 +00:00
3bef952d48
update linux binary
John Kessenich
2014-02-13 19:15:53 +00:00
56876dcfe7
Fix missing semantic check: Disallow layout qualifiers when augmenting an already declared variable with a qualifier.
John Kessenich
2014-02-13 19:14:33 +00:00
782aa830b6
Correct which versions can support the extensions GL_ARB_separate_shader_objects and GL_ARB_shading_language_420pack. They'd only gone back to 150, rather than 130/140.
John Kessenich
2014-02-12 05:15:49 +00:00
4094630ca3
GL_ARB_enhanced_layouts, final. #extension tests, built-in constants, and bug fix for non-constant expression in layout(...=expr).
John Kessenich
2014-02-03 16:28:23 +00:00
39974acf93
ESSL 1.0: Add GL_FRAGMENT_PRECISION_HIGH to ESSL 1.0. It was in desktop, and properly not in ES 3.0, but missing in ES 1.0.
John Kessenich
2014-01-31 02:42:25 +00:00
ac1e188f3b
GL_ARB_enhanced_layouts, part 6: Numerical side of uniform offset and align semantics. Included - moving offset calculations for std140/std430 from reflection to linkValidate.cpp - applying the offset/align rules on top of std140/std430 - removing caching the structure's number of components (and correcting that this is components, not size)
John Kessenich
2014-01-31 02:40:19 +00:00
04b1c6ed4c
GL_ARB_enhanced_layouts, part 5: uniform offset and align semantics. Numerical computations not yet done.
John Kessenich
2014-01-28 21:13:59 +00:00
255df5760a
Fix build errors:
John Kessenich
2014-01-27 20:02:12 +00:00
e5fbec8a17
Support GL_ARB_texture_cube_map_array extension for desktop.
John Kessenich
2014-01-26 22:22:54 +00:00
4e9d8c3171
x86 (32-bit) fix for last g++ fix.
John Kessenich
2014-01-26 07:56:43 +00:00
772139cd4b
fix g++ complaint
John Kessenich
2014-01-26 01:44:34 +00:00