Commit graph

  • 7819bee82c Switch loops stack to use LoopBlocks. Dejan Mircevski 2016-01-11 09:35:22 -05:00
  • 13228243b2 Test a for loop with no body. Dejan Mircevski 2016-01-10 23:15:08 -05:00
  • e537b8b488 Fix unreachable-block removal. Dejan Mircevski 2016-01-10 19:37:00 -05:00
  • 9c6734c8df First cut at new loop codegen. Dejan Mircevski 2016-01-10 12:15:13 -05:00
  • 364c21c8c0 Fix several build warnings/error encountered with VS2013 Mark Adams 2016-01-06 13:41:02 -05:00
  • 48edadfd24 Parser & SPV: Implement two extensions regarding GLSL sparse texture. Rex Xu 2015-12-31 16:11:41 +08:00
  • e23c9849c2 SPV: Handle type punning in createCompositeCompare(). John Kessenich 2016-01-04 23:49:03 -07:00
  • f8842e55c0 SPV: Don't do stride decorations for arrays of arrays of blocks. John Kessenich 2016-01-04 19:22:56 -07:00
  • c9e0a42b92 SPV: Handle stride decorations for arrays of arrays, and using multiple type instances when strides are used. John Kessenich 2015-12-29 21:27:24 -07:00
  • 4998789d4e SPV: Fix array strides by explicitly computing them in the getBaseAlignment() algorithm. John Kessenich 2015-12-29 17:11:44 -07:00
  • e0b6cad44f SPV: Generalize multiple struct-type instances for interpolation/invariant qualifiers. John Kessenich 2015-12-24 10:30:13 -07:00
  • 69d01eadd6 Semantics: Catch nested types containing 'int' with non-'flat' interpolation. John Kessenich 2015-12-22 16:39:07 -07:00
  • 50e57560a1 SPV: Don't make MissingFunctionality() exit anymore. John Kessenich 2015-12-21 21:21:11 -07:00
  • 2211835b4d SPV: Implement composite comparisons (reductions across hierchical compare). John Kessenich 2015-12-21 20:54:09 -07:00
  • 59420fd356 SPV: Move to deterministic results for OpEntryPoint, for test stability across platforms. John Kessenich 2015-12-21 11:45:34 -07:00
  • 7ba6341a05 SPV: Make OpEntryPoint I/O list include all static uses. John Kessenich 2015-12-20 17:37:07 -07:00
  • 3ac051e41d SPV: recursively propagate row/col majorness through nested structures. John Kessenich 2015-12-20 11:29:16 -07:00
  • f85e806e44 SPV: Nested layouts: Recursively send around the top-level std140 or std430 packing. John Kessenich 2015-12-19 13:57:10 -07:00
  • b62e693f74 Merge pull request #118 from amdrexu/bugfix John Kessenich 2015-12-19 11:20:25 -07:00
  • a3211bfe72 Merge pull request #120 from amdrexu/bugfix2 John Kessenich 2015-12-19 11:14:32 -07:00
  • aa1dd61257 Merge branch 'master' of github.com:KhronosGroup/glslang John Kessenich 2015-12-19 11:10:56 -07:00
  • b6d7fa91a1 Merge pull request #117 from amdrexu/feature John Kessenich 2015-12-19 11:08:02 -07:00
  • 297bb3f2d0 Tests for PR: Fix results for 4f68b83ea1. John Kessenich 2015-12-19 11:05:44 -07:00
  • 4f68b83ea1 Merge pull request #119 from thothonegan/master John Kessenich 2015-12-19 11:00:49 -07:00
  • 61c47a951b Constant folding: Correct result type of non-square matrix folding. John Kessenich 2015-12-14 18:21:19 -07:00
  • 1934506555 Parser: Correct the storage qualifier of gl_HelperInvocation. Rex Xu 2015-12-16 14:41:39 +08:00
  • b07e6beb8a Display the filename if we have output, even if validating a single file. Kenneth Perry 2015-12-15 10:52:34 -06:00
  • 7beb44190f SPV: Fix an issue related with imageStore() for 2DMS. Rex Xu 2015-12-15 17:52:45 +08:00
  • cbc426ee62 SPV: Implement GLSL built-in bitcast functions. Rex Xu 2015-12-15 16:03:10 +08:00
  • 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
  • 7a26c176ce SPV: Implement GLSL interpolation built-in functions. Rex Xu 2015-12-08 17:12:09 +08: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
  • a3f53e54d2 Fix ordered pointer comparison build warning/error Mark Adams 2015-12-03 15:31:58 -05:00
  • ebde046ca4 InitProcess() should fail if InitThread() does. Aaron Hamilton 2015-12-02 07:39:26 +00:00
  • 5f6892e23c Use generic osinclude.h Pyry Haulos 2015-12-01 12:59:53 -08:00
  • 1be8063e01 Require l-value patch-out indexing to be gl_InvocationID. John Kessenich 2015-11-28 15:19:11 -07:00
  • 989df85dcd Array-sizing bug fix: multiple array initializers of different size in the same declaration. John Kessenich 2015-11-28 12:52:29 -07:00
  • dad6408542 Merge pull request #98 from amdrexu/myfix John Kessenich 2015-11-22 23:36:49 -07:00
  • 71519fe70b SPV: Fix an issue related with using CubeArrayShadow for texture() Rex Xu 2015-11-11 15:35:47 +08:00
  • 2c03478442 Merge pull request #10 from baldurk/osinclude-common-header John Kessenich 2015-11-20 15:49:09 -07:00
  • bc83e64e51 Exclude bison generated files in .gitignore baldurk 2015-11-16 23:53:46 +01:00
  • 5100d5603f Remove legacy build system baldurk 2015-11-16 23:51:35 +01:00
  • 876a0e392e Add an osinclude.h below each OS directory, redirects by platform macro baldurk 2015-11-16 18:03:28 +01:00
  • 08dee03d18 Remove include_directories from CMakeLists, to enforce relative includes baldurk 2015-07-12 00:54:17 +02:00
  • e915da4aee Remove unnecessary include path relative to root baldurk 2015-11-16 18:05:07 +01:00
  • 085371d9d4 SPV testing: Add missing test case. John Kessenich 2015-11-16 09:31:26 -07:00
  • 55e7d11ce8 SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2. John Kessenich 2015-11-15 21:33:39 -07:00
  • 6998987ecf Avoid costly indirect calls of tStringInput::(un)?getch through TPpContext Maxime Coste 2015-11-11 17:46:18 +00:00
  • 29051bd148 Avoid creation of temporary std::string when looking up keywords and reserved words Maxime Coste 2015-11-11 17:38:31 +00:00
  • 1c77f3a8d2 Merge pull request #88 from mgadams/unistd_removal John Kessenich 2015-10-28 17:29:13 -06:00
  • ea9112e0a5 Remove obsolete unistd.h file Mark Adams 2015-10-27 14:27:18 -04:00
  • 40f6f688cd Merge pull request #85 from mgadams/gcc_build_fixes John Kessenich 2015-10-26 15:29:10 -06:00
  • c11e95f6e5 Various build fixes when using newer GCC versions with warnings enabled Mark Adams 2015-10-26 12:38:46 -04:00
  • fac0d1c72b Merge pull request #82 from mgadams/remove_sprintf John Kessenich 2015-10-15 18:30:34 -06:00
  • 4123a04ca9 Replace sprintf() usage with snprintf() Mark Adams 2015-10-15 16:16:52 -04:00
  • fa540d1414 SPV: Remove accidental inclusion of a test. John Kessenich 2015-10-15 13:55:18 -06:00
  • 7c1aa1026e SPV: Implement short circuiting of && and || when emitting SPIR-V. John Kessenich 2015-10-15 13:29:11 -06:00
  • da581a2b95 GL_ARB_shader_draw_parameters: From @amdrexu, implement extension. John Kessenich 2015-10-14 14:10:30 -06:00
  • b5c046e58b Front-end: Fix missing tessellation shader built-in qualifiers. John Kessenich 2015-10-13 17:23:10 -06: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