ea0cb2eb11
Merge pull request #116 from mgadams/scan_compile_fix
John Kessenich
2015-12-14 17:47:51 -07:00
22badee09a
Fix compile warning/error due to assignment in while() loop
Mark Adams
2015-12-14 10:48:04 -05:00
e7c83cfb8c
SPV GLSL.std.450: Add needed smear operations for min, max, clamp, mix, step, and smoothstep.
John Kessenich
2015-12-13 13:34:37 -07:00
6feb4989fe
SPV texturing: Use comp. 2 as the 3rd comp. for Dref in ImageSampleProjDrefImplicitLod.
John Kessenich
2015-12-13 12:23:33 -07:00
f5ce646546
Fix crash: when no #version for compute shader in es mode.
John Kessenich
2015-12-13 11:20:12 -07:00
61d9fb9048
Semantics: 'invocations' defaults to 1, not 0.
John Kessenich
2015-12-13 10:59:17 -07:00
04bb8a01d6
SPV: Implement all matrix operators {+,-,*,/} for {matrix,scalar,vector}.
John Kessenich
2015-12-12 12:28:14 -07:00
494a02a2b0
Semantics: Geometry stage can support max_vertices = 0.
John Kessenich
2015-12-11 15:44:12 -07:00
3c24a06c8c
SPV tests: Turn on some more tests related to currently pending issues.
John Kessenich
2015-12-11 15:08:26 -07:00
cc16fa0720
Tests: Move to just linefeed to simply cross-platform test changes.
John Kessenich
2015-12-10 18:01:54 -07:00
562394d112
Linux: Fix case of test file.
John Kessenich
2015-12-10 12:01:41 -07:00
76f7139789
SPV: Modify last merge: Have promoteScalar() generate the correct vectorType.
John Kessenich
2015-12-09 19:08:42 -07:00
c51710e0a9
Merge pull request #115 from amdrexu/bugfix
John Kessenich
2015-12-09 18:47:48 -07:00
534610d815
Merge pull request #114 from amdrexu/bugfix2
John Kessenich
2015-12-09 18:26:38 -07:00
e723b45bca
SPV: Scalar smear operation should use type of the scalar to make the expected vector type when the provided vector type is incompatible with the scalar.
Rex Xu
2015-12-07 19:07:17 +08:00
e553ace049
Parser: Extension requirement of gl_PrimitiveID and gl_Layer should be checked only for ESSL instead of GLSL.
Rex Xu
2015-12-07 19:07:17 +08:00
e00e72ded1
SPV: Protect getStorageClass() with a test that the thing is pointer.
John Kessenich
2015-12-08 20:48:49 -07:00
33661450c7
SPV: Implement OpImage functionality (emit before query).
John Kessenich
2015-12-08 19:32:47 -07:00
45457bcddb
Merge pull request #113 from amdrexu/feature
John Kessenich
2015-12-08 14:45:01 -07:00
5d60ca5744
Platforms: Remove support for Windows XP executables. Dealing with the 110 toolset seems not worth it.
John Kessenich
2015-12-08 14:26:26 -07:00
c92e370e87
Merge pull request #111 from dneto0/issue-110-frexp-fix
John Kessenich
2015-12-07 15:03:16 -07:00
8d63a3d35a
Avoid read past end of operands vector for EOpFrexp
David Neto
2015-12-07 16:17:06 -05:00
8c1c2ca0d7
Built-ins: fix mapping of packDouble2x32 and unpackDouble2x32.
John Kessenich
2015-12-06 19:33:07 -07:00
2359bd0a1d
SPV: Fix extra operands when using the "struct" form of a built-in taking an 'out' param.
John Kessenich
2015-12-06 19:29:11 -07:00
e721f49dbd
SPV: Distinguish between std140 and std430 layouts, and correctly use alignments as the base for strides.
John Kessenich
2015-12-06 19:17:49 -07:00
dd6ca17845
Semantics: Correct that std430 is universally disallowed with 'uniform'.
John Kessenich
2015-12-06 18:10:27 -07:00
71e04d62a4
Merge pull request #100 from mawww/scanner-optim
John Kessenich
2015-12-06 17:12:53 -07:00
2765749856
Merge pull request #109 from xorgy/add-unary-math-check-for-null-before-dereferencing
John Kessenich
2015-12-06 10:29:06 -07:00
af5a123652
In addUnaryMath, check for 'child' being null before dereferencing it.
Aaron Hamilton
2015-12-06 01:10:54 +00:00
8481679f4d
Merge pull request #107 from xorgy/fail-init-process-on-init-thread-fail
John Kessenich
2015-12-03 17:57:35 -07:00
c9d6477ee2
Merge pull request #108 from mgadams/extensions_compile_fix
John Kessenich
2015-12-03 17:56:53 -07:00
bd0726be34
Build: Fix CMake files to find osinclude.h
John Kessenich
2015-12-03 17:46:03 -07:00
e54dd2330a
Merge pull request #105 from phaulos/generic-osinclude
John Kessenich
2015-12-03 17:20:24 -07:00
e690332c3c
SPV: Add modes for spacing, depth, depth replacing, winding, and point mode.
John Kessenich
2015-10-13 16:29:02 -06:00
f685df8c16
Add comment that was missed in previous commit.
John Kessenich
2015-10-13 10:55:08 -06:00
716312771c
SPV constants and constOffsets completion: isConstant() and disassembler to see results.
John Kessenich
2015-10-13 10:39:19 -06:00
d4a7a8e721
Merge pull request #81 from amdrexu/myfix
John Kessenich
2015-10-13 10:04:26 -06:00
19c6e5919f
Fix an issue related with texelFetchOffset
Rex Xu
2015-10-12 17:02:21 +08:00
86e608133c
Generate correct image operand mask for Offset and ConstOffset(#77)
Rex Xu
2015-10-11 19:37:48 +08:00
820a22fcc8
Give error for calling a user-defined function at global scope.
John Kessenich
2015-10-06 13:11:38 -06:00
894c1c109f
Add another frexp() test.
John Kessenich
2015-10-05 10:00:27 -06:00
eb505e4262
Allow future keywords to be accessed as members in a struct.
John Kessenich
2015-10-02 15:01:53 -06:00
6373574b13
Front-end: Fix: Cubemap arrays only use 3-component coord when accessed as an image.
John Kessenich
2015-10-01 12:40:48 -06:00
3cd0024ea8
GLSL front-end: Check recursively for opaque types in a block; these are all illegal.
John Kessenich
2015-09-30 18:57:47 -06:00
ee21fc9081
SPV: Fix missing 'Member' operand to OpArrayLength.
John Kessenich
2015-09-21 21:50:29 -06:00
142d7780a4
SPV 31: Remove obsolete and unused ../SPIRV/GLSL450Lib.h.
John Kessenich
2015-09-21 10:39:20 -06:00
ff4f04dd0e
Merge pull request #75 from google/fix-vs2013-debug
John Kessenich
2015-09-21 10:00:42 -06:00
f82c661462
SPV: Remove old Rev. 30 header spirv.h (glslang has been using Rev. 31 spirv.hpp).
John Kessenich
2015-09-21 08:59:47 -06:00
2d83ab2f57
Fixed subtle issue that causes tests to fail in VS2013 in some configs.
Andrew Woloszyn
2015-09-18 16:12:03 -04:00
b9cd3996c7
PP: Restore a line of code deleted by commit bb63bd5e37.
John Kessenich
2015-09-16 18:23:20 -06:00
b56a26ab4d
SPV: Generate the LocalSize Execution Mode for compute shaders.
John Kessenich
2015-09-16 16:04:05 -06:00
56bab0483a
SPV: Minor corrections to previous big merge for images and atomics.
John Kessenich
2015-09-16 10:54:31 -06:00
f6890c3798
Merge pull request #71 from amdrexu/mywork
John Kessenich
2015-09-16 10:51:33 -06:00
6b86d496c2
Add new test case for image functions and fix issues caught by this test
Rex Xu
2015-09-16 17:48:22 +08:00
bba5c80957
Merge master branch from upstream
Rex Xu
2015-09-16 13:20:37 +08:00
fa2d01844e
Merge remote-tracking branch 'upstream/master'
Rex Xu
2015-09-16 11:44:50 +08:00
04db3f5aa4
Fix issues from review comments and those relevant to texelFetch
Rex Xu
2015-09-16 11:44:02 +08:00
2398b3a458
Full stack: implement textureQueryLod(*) and textureQueryLevels(*).
John Kessenich
2015-09-15 19:38:56 -06:00
ef0118b26e
Update the Todo.txt file with recent AEP, 3.1, and textureQuery progress.
John Kessenich
2015-09-15 19:17:30 -06:00
3e60a6ff13
SPV OpAtomicCompareSwap: Generate correct operand order and number of operands.
John Kessenich
2015-09-14 22:45:16 -06:00
7355eebb18
SPV legacy texturing: Smear result of Op*Dref* up to a vector to match the expectations of old GLSL shadow*() lookups.
John Kessenich
2015-09-14 22:08:12 -06:00
e770b3e6cf
SPV return from main: Simplify a legacy design such returns are not jumps to exit block.
John Kessenich
2015-09-14 20:58:02 -06:00
5f5b205ce9
Bump up layout(location) limit from 62 to 4094, to handle bigger uniform locations.
John Kessenich
2015-09-13 20:59:36 -06:00
30f9258d5e
Merge master branch from upstream
Rex Xu
2015-09-14 10:38:56 +08:00
88fa964745
Merge remote-tracking branch 'upstream/master'
Rex Xu
2015-09-14 10:15:54 +08:00
fa668dad99
SPV: Reduce spurious type generation by removing intermediate types in the middle of access chains.
John Kessenich
2015-09-13 14:46:30 -06:00
c9a808319a
SPV arrays: Add support for runtime-sized array types and arrays of arrays.
John Kessenich
2015-09-12 12:17:44 -06:00
9312269d09
Front-end Arrays of arrays: Add ES-specific checks and tests. AoA should be quite close to done now.
John Kessenich
2015-09-11 15:25:38 -06:00
a06bd527ca
SPV: Correct generation of transparent offsets for implicitly assigned offsets.
John Kessenich
2015-09-11 15:15:23 -06:00
42323e4107
Merge pull request #1 from KhronosGroup/master
Rex Xu
2015-09-10 12:06:48 +08:00
31ed4830d1
SPV: Only decorate array and matrix strides for transparent types requiring explicit layouts.
John Kessenich
2015-09-09 17:51:38 -06:00
874b1f8858
Add test results for merge pull request #69.
John Kessenich
2015-09-09 16:36:37 -06:00