platform/upstream/glslang.git
8 years agoMerge pull request #331 from jherico/jherico-patch-1
John Kessenich [Wed, 8 Jun 2016 00:07:12 +0000 (18:07 -0600)]
Merge pull request #331 from jherico/jherico-patch-1

Build: Fix Ubuntu 16.10 build

8 years agoFix Ubuntu 16.10 build
Brad Davis [Tue, 7 Jun 2016 23:23:44 +0000 (16:23 -0700)]
Fix Ubuntu 16.10 build

8 years agoMerge pull request #128 from dekimir/clang-format
John Kessenich [Mon, 6 Jun 2016 03:46:33 +0000 (21:46 -0600)]
Merge pull request #128 from dekimir/clang-format

Infrastructure: Add .clang-format.

8 years agoFront-end: Fix issue #146: which versions allow double in/out.
John Kessenich [Mon, 6 Jun 2016 00:52:05 +0000 (18:52 -0600)]
Front-end: Fix issue #146: which versions allow double in/out.

8 years agoRevert SpvBuilder.* to master versions.
Dejan Mircevski [Mon, 6 Jun 2016 00:46:33 +0000 (20:46 -0400)]
Revert SpvBuilder.* to master versions.

8 years agoIncrease column limit to 120.
Dejan Mircevski [Mon, 6 Jun 2016 00:45:34 +0000 (20:45 -0400)]
Increase column limit to 120.

8 years agoMerge branch 'master' of github.com:KhronosGroup/glslang into clang-format
Dejan Mircevski [Mon, 6 Jun 2016 00:42:20 +0000 (20:42 -0400)]
Merge branch 'master' of github.com:KhronosGroup/glslang into clang-format

8 years agoFront-end: Fix issue #147: ensure layout(index=N) has N in [0,1].
John Kessenich [Sun, 5 Jun 2016 23:25:34 +0000 (17:25 -0600)]
Front-end: Fix issue #147: ensure layout(index=N) has N in [0,1].

8 years agoHLSL: Flesh out the loop grammar and productions.
John Kessenich [Sun, 5 Jun 2016 21:44:07 +0000 (15:44 -0600)]
HLSL: Flesh out the loop grammar and productions.

8 years agoHLSL: Attribute grammar and if-else grammar/productions.
John Kessenich [Sun, 5 Jun 2016 17:23:11 +0000 (11:23 -0600)]
HLSL: Attribute grammar and if-else grammar/productions.

8 years agoHLSL: Finish skeletan of the "statement" grammar.
John Kessenich [Sat, 4 Jun 2016 17:46:33 +0000 (11:46 -0600)]
HLSL: Finish skeletan of the "statement" grammar.

8 years agoHLSL: 1) Implement lookahead buffers/stacks for token advance/recede, 2) use it for...
John Kessenich [Fri, 3 Jun 2016 22:55:49 +0000 (16:55 -0600)]
HLSL: 1) Implement lookahead buffers/stacks for token advance/recede, 2) use it for cast operation.

The grammar now accepts type casts, like "(int)x", but that
has to be disambiguated from "(a + b)", needed deeper lookahead
and backing up than what existed so far.

8 years agoMerge pull request #328 from steve-lunarg/intrinsics
John Kessenich [Fri, 3 Jun 2016 22:55:22 +0000 (16:55 -0600)]
Merge pull request #328 from steve-lunarg/intrinsics

HLSL: Add negative intrinsics tests

8 years agoAdd negative intrinsics tests
LoopDawg [Fri, 3 Jun 2016 16:53:28 +0000 (10:53 -0600)]
Add negative intrinsics tests

8 years agoMerge pull request #327 from steve-lunarg/empty-statement-fix
John Kessenich [Fri, 3 Jun 2016 18:20:49 +0000 (12:20 -0600)]
Merge pull request #327 from steve-lunarg/empty-statement-fix

HLSL: Fix for empty statement segfault

8 years agoFix for empty statement segfault.
LoopDawg [Fri, 3 Jun 2016 15:17:51 +0000 (09:17 -0600)]
Fix for empty statement segfault.

8 years agoMerge pull request #326 from greg-lunarg/greg-mr4
John Kessenich [Fri, 3 Jun 2016 16:48:12 +0000 (10:48 -0600)]
Merge pull request #326 from greg-lunarg/greg-mr4

remapper: do not eliminate interface variables in dce

8 years agoMerge pull request #322 from steve-lunarg/intrinsics
John Kessenich [Fri, 3 Jun 2016 16:47:34 +0000 (10:47 -0600)]
Merge pull request #322 from steve-lunarg/intrinsics

HLSL: Initial implementation of direct-mapped subset of HLSL intrinsics

8 years agoremapper: do not eliminate interface variables in dce by default
GregF [Fri, 3 Jun 2016 15:53:47 +0000 (09:53 -0600)]
remapper: do not eliminate interface variables in dce by default

this is done by counting op_entrypoint as a use/def

8 years agoInitial implementation of direct-mapped subset of HLSL intrinsics with type subset.
LoopDawg [Thu, 26 May 2016 16:10:16 +0000 (10:10 -0600)]
Initial implementation of direct-mapped subset of HLSL intrinsics with type subset.

This checkin implements about half of the HLSL intrinsics for a subset of their
entire type support (but a useful subset).  The uncommented lines in
TBuiltInParseablesHlsl::identifyBuiltIns shows which are connected.

8 years agoMerge pull request #323 from dneto0/mingw-static-link-against-basic-runtimes
John Kessenich [Fri, 3 Jun 2016 05:51:45 +0000 (23:51 -0600)]
Merge pull request #323 from dneto0/mingw-static-link-against-basic-runtimes

Build: For MinGW, statically link exes against basic runtimes

8 years agoSPV: Fix issue #320: Fetch needs to extract the image.
John Kessenich [Fri, 3 Jun 2016 05:45:21 +0000 (23:45 -0600)]
SPV: Fix issue #320: Fetch needs to extract the image.

GLSL takes a traditional sampler, but SPIR-V wants just the
sampled image, not the combined sampler and image.

8 years agoFor MinGW, statically link exes against basic runtimes
David Neto [Thu, 2 Jun 2016 18:37:24 +0000 (14:37 -0400)]
For MinGW, statically link exes against basic runtimes

Avoids the need to ship basic runtimes like libgcc_s_sjlj-1.dll
with the executables.

8 years agoMerge pull request #311 from jherico/debug_postfix
John Kessenich [Thu, 2 Jun 2016 00:39:18 +0000 (18:39 -0600)]
Merge pull request #311 from jherico/debug_postfix

Build: Produce different names for files in debug builds on MSVC

8 years agoMerge pull request #317 from iostrowsINTEL/double_matrix_fix
John Kessenich [Thu, 2 Jun 2016 00:26:52 +0000 (18:26 -0600)]
Merge pull request #317 from iostrowsINTEL/double_matrix_fix

SPV: Fix double matrix creation

8 years agoFix double matrix creation
iostrows [Wed, 1 Jun 2016 14:40:00 +0000 (16:40 +0200)]
Fix double matrix creation

8 years agoFront-end: Complete GL_ARB_compute_shader, previous commit was missing new barriers.
John Kessenich [Tue, 31 May 2016 01:38:39 +0000 (19:38 -0600)]
Front-end: Complete GL_ARB_compute_shader, previous commit was missing new barriers.

This amends the previous commit, which ommitted barriers in version 420 for compute shader.

8 years agoFront-end: Complete GL_ARB_compute_shader implementation.
John Kessenich [Tue, 31 May 2016 01:29:40 +0000 (19:29 -0600)]
Front-end: Complete GL_ARB_compute_shader implementation.

Core compute shaders were working, but the extension wasn't implemented.

8 years agoFix issue #313: Catch internal attempts to modify built-in symbols that don't exist.
John Kessenich [Mon, 30 May 2016 00:24:31 +0000 (18:24 -0600)]
Fix issue #313: Catch internal attempts to modify built-in symbols that don't exist.

Also beefed up support for running compute shaders is #version 420, but this
work is only partially done.

8 years agoMerge pull request #230 from dekimir/incresconst
John Kessenich [Wed, 25 May 2016 23:43:54 +0000 (17:43 -0600)]
Merge pull request #230 from dekimir/incresconst

Make two more IncludeResult members const.

8 years agoMerge pull request #309 from jekstrand/sampler-params
John Kessenich [Wed, 25 May 2016 23:35:54 +0000 (17:35 -0600)]
Merge pull request #309 from jekstrand/sampler-params

SPV: Don't shadow sampler parameters when performing function calls

8 years agoMerge pull request #308 from thp/multiple-es-compilation-units
John Kessenich [Wed, 25 May 2016 23:31:58 +0000 (17:31 -0600)]
Merge pull request #308 from thp/multiple-es-compilation-units

Link: Handle multiple ES profile compilation units for a single shader stage

8 years agoSPV: Don't shadow sampler parameters when performing function calls
Jason Ekstrand [Wed, 25 May 2016 18:50:21 +0000 (11:50 -0700)]
SPV: Don't shadow sampler parameters when performing function calls

Fixes #179

8 years agoProduce different names for files in debug builds on MSVC
Brad Davis [Wed, 25 May 2016 20:08:34 +0000 (13:08 -0700)]
Produce different names for files in debug builds on MSVC

8 years agoCheck for linking multiple ES shaders to the same stage
Thomas Perl [Wed, 25 May 2016 07:26:43 +0000 (09:26 +0200)]
Check for linking multiple ES shaders to the same stage

8 years agoFix test case for the "empty" linker test case
Thomas Perl [Tue, 24 May 2016 11:18:31 +0000 (13:18 +0200)]
Fix test case for the "empty" linker test case

The test result should only give one error about linking
ES and non-ES shading language compilation units:

 - empty.frag: No version info, interpreted as 100, ES
 - empty2.frag: No version info, interpreted as 100, ES
 - empty3.frag: Version declared as 110, non-ES

Previously, because the new intermediate is always created
without version/profile information, there would be two
linker errors:

 1.) When merging the new intermediate with empty.frag
 2.) When merging (new intermediate + empty.frag + empty2.frag) with empty3.frag

Now, there is only one error; as the error with merging the
new intermediate with empty.frag has been removed.

8 years agoUse version/profile from first compilation stage
Thomas Perl [Tue, 24 May 2016 11:16:08 +0000 (13:16 +0200)]
Use version/profile from first compilation stage

When linking multiple compilation units per shader stage,
the code creates a new intermediate, but fails to set its
version and profile.

This change makes it so that the new intermediate inherits
the version and profile of the first compilation unit, so
that two ES SL compilation units can be combined.

8 years agoAdd test case: Link 2 ESSL fragment shader units
Thomas Perl [Tue, 24 May 2016 11:15:01 +0000 (13:15 +0200)]
Add test case: Link 2 ESSL fragment shader units

8 years agoMerge pull request #306 from johnkslang/finish-spec-const-semantics
John Kessenich [Tue, 24 May 2016 05:37:39 +0000 (23:37 -0600)]
Merge pull request #306 from johnkslang/finish-spec-const-semantics

Vulkan: Finish semantics for what creates spec-const-semantics.

8 years agoVulkan: Finish semantics for what creates spec-const-semantics.
John Kessenich [Mon, 23 May 2016 22:07:07 +0000 (16:07 -0600)]
Vulkan: Finish semantics for what creates spec-const-semantics.

Note: This required adding a new test mode to see the AST for vulkan tests.
This also required reworking some deeper parts of type creation, regarding
when storage qualification and constness is deduced bottom-up or dictated
top-down.

8 years agoMerge pull request #305 from steve-lunarg/intrinsics
John Kessenich [Mon, 23 May 2016 23:55:07 +0000 (17:55 -0600)]
Merge pull request #305 from steve-lunarg/intrinsics

HLSL: Add base class TParseables for intrinsic / builtin generation.

8 years agoAdd base class TParseables for intrinsic / builtin generation.
LoopDawg [Fri, 20 May 2016 19:45:20 +0000 (13:45 -0600)]
Add base class TParseables for intrinsic / builtin generation.
Add stubbed HLSL derivation.  GLSL derivation is still called TBuiltIns,
for historical compatibility.

8 years agoMerge pull request #302 from amdrexu/bugfix
John Kessenich [Mon, 23 May 2016 17:43:31 +0000 (11:43 -0600)]
Merge pull request #302 from amdrexu/bugfix

SPV: Fix an issue of interpolation decoration.

8 years agoSPV: Fix an issue of interpolation decoration.
Rex Xu [Sat, 21 May 2016 01:40:44 +0000 (09:40 +0800)]
SPV: Fix an issue of interpolation decoration.

GLSL interpolation qualifiers and auxiliary storage qualifiers are not
mutually exclusive. So when they are translated to SPIR-V decorations, two
independent utility methods should be employed to do this job.

8 years agoKHR_vulkan_glsl: name mangle distinguish pure textures.
John Kessenich [Fri, 20 May 2016 22:59:27 +0000 (16:59 -0600)]
KHR_vulkan_glsl: name mangle distinguish pure textures.

Fixes issue #252.

8 years agoSPV: Don't put locations on OpTypeStruct. Related to Issue #291.
John Kessenich [Fri, 20 May 2016 21:40:53 +0000 (15:40 -0600)]
SPV: Don't put locations on OpTypeStruct. Related to Issue #291.

8 years agoMerge pull request #301 from dneto0/fix-android-build-atoi-in-cstddef
John Kessenich [Fri, 20 May 2016 21:14:23 +0000 (15:14 -0600)]
Merge pull request #301 from dneto0/fix-android-build-atoi-in-cstddef

Build: atoi comes from stddef.h or cstddef

8 years agoatoi comes from stddef.h or cstddef
David Neto [Fri, 20 May 2016 20:05:21 +0000 (16:05 -0400)]
atoi comes from stddef.h or cstddef

This is required to fix the Android build for ARM.

8 years agoMerge pull request #297 from antiagainst/config-tests
John Kessenich [Fri, 20 May 2016 19:46:31 +0000 (13:46 -0600)]
Merge pull request #297 from antiagainst/config-tests

Test compiling shaders with given resource limits using GTest.

8 years agoMerge pull request #300 from Qining/fix-slow-down-in-no-contraction-propagation
John Kessenich [Fri, 20 May 2016 19:44:07 +0000 (13:44 -0600)]
Merge pull request #300 from Qining/fix-slow-down-in-no-contraction-propagation

Fix the slow down in noContraction propagation

8 years agoremove redundant 'return false'
qining [Fri, 20 May 2016 18:30:38 +0000 (14:30 -0400)]
remove redundant 'return false'

8 years agoHLSL: Add more matrix types to the grammar.
John Kessenich [Fri, 20 May 2016 18:17:26 +0000 (12:17 -0600)]
HLSL: Add more matrix types to the grammar.

8 years agoFull stack: distinguish between a scalar and a vector of size 1.
John Kessenich [Fri, 20 May 2016 18:06:03 +0000 (12:06 -0600)]
Full stack: distinguish between a scalar and a vector of size 1.

There have been GLSL extensions considering this, and HLSL does it.
This is a fully backward compatible change that allows this distinction.

8 years agoFix the slow down in noContraction propagation
qining [Fri, 20 May 2016 18:11:28 +0000 (14:11 -0400)]
Fix the slow down in noContraction propagation

8 years agoSPV: Don't emit memory barrier for ESSL barrier(), but still do for GLSL barrier().
John Kessenich [Fri, 20 May 2016 00:26:42 +0000 (18:26 -0600)]
SPV: Don't emit memory barrier for ESSL barrier(), but still do for GLSL barrier().

Addresses issue #205.
Current open Khronos bug for finalizing this.

8 years agoMerge pull request #298 from thp/remove-unused-prototype
John Kessenich [Thu, 19 May 2016 22:35:25 +0000 (16:35 -0600)]
Merge pull request #298 from thp/remove-unused-prototype

Nonfunctional: Remove declaration for ShGetPhysicalAttributeBindings

8 years agoRemove declaration for ShGetPhysicalAttributeBindings
Thomas Perl [Thu, 19 May 2016 20:19:58 +0000 (22:19 +0200)]
Remove declaration for ShGetPhysicalAttributeBindings

The function ShGetPhysicalAttributeBindings() is declared in the
header, but not defined (or referenced) anywhere in the codebase.

8 years agoTest compiling shaders with given resource limits using GTest.
Lei Zhang [Thu, 19 May 2016 17:50:49 +0000 (13:50 -0400)]
Test compiling shaders with given resource limits using GTest.

8 years agoRename DefaultResourceLimits.* to ResourceLimits.*.
Lei Zhang [Thu, 19 May 2016 17:31:43 +0000 (13:31 -0400)]
Rename DefaultResourceLimits.* to ResourceLimits.*.

8 years agoMerge pull request #288 from thp/attribute-reflection
John Kessenich [Thu, 19 May 2016 16:13:08 +0000 (10:13 -0600)]
Merge pull request #288 from thp/attribute-reflection

Reflection: Add support for querying vertex attributes in reflection API

8 years agoUpdate test cases for vertex attribute reflection
Thomas Perl [Thu, 19 May 2016 07:26:20 +0000 (09:26 +0200)]
Update test cases for vertex attribute reflection

8 years agoAdd support for querying vertex attributes in reflection API
Thomas Perl [Tue, 17 May 2016 11:59:13 +0000 (13:59 +0200)]
Add support for querying vertex attributes in reflection API

8 years agoMerge pull request #295 from amdrexu/bugfix
John Kessenich [Thu, 19 May 2016 06:00:54 +0000 (00:00 -0600)]
Merge pull request #295 from amdrexu/bugfix

Parser: Redeclaration of gl_CullDistance is disallowed mistakenly.

8 years agoMerge pull request #293 from antiagainst/link-tests
John Kessenich [Thu, 19 May 2016 05:55:54 +0000 (23:55 -0600)]
Merge pull request #293 from antiagainst/link-tests

Testing: Add link tests in the GTest framework

8 years agoParser: Redeclaration of gl_CullDistance is disallowed mistakenly.
Rex Xu [Wed, 18 May 2016 23:10:01 +0000 (07:10 +0800)]
Parser: Redeclaration of gl_CullDistance is disallowed mistakenly.

8 years agoRun link tests in the GTest framework.
Lei Zhang [Wed, 18 May 2016 03:03:28 +0000 (23:03 -0400)]
Run link tests in the GTest framework.

8 years agoMerge pull request #294 from scyganINTEL/scygan-fix-io_storage_structs-location
John Kessenich [Thu, 19 May 2016 00:06:53 +0000 (18:06 -0600)]
Merge pull request #294 from scyganINTEL/scygan-fix-io_storage_structs-location

SPV: Fix missing location decoration for structures put directly on input/output interfaces

8 years agoFix missing location decoration for structures put directly on input/output interfaces
scygan [Wed, 18 May 2016 16:09:17 +0000 (18:09 +0200)]
Fix missing location decoration for structures put directly on input/output interfaces

Spec for decorating the OpVariable:
"The remaining variables listed by OpEntryPoint with the Input or Output storage class form the user-defined variable interface. These variables must be identified with a Location decoration"

Spec for decorating struct type:
"The layout of a structure type used as an Input or Output depends on whether it is also a Block (i.e. has a Block decoration).
If it is a not a Block, then the structure type must have a Location decoration"

8 years agoFix several comments in GTest fixture.
Lei Zhang [Tue, 17 May 2016 20:43:05 +0000 (16:43 -0400)]
Fix several comments in GTest fixture.

8 years agoNon-functional: Fix some comments English and brace formatting in recent merges.
John Kessenich [Tue, 17 May 2016 16:24:00 +0000 (10:24 -0600)]
Non-functional: Fix some comments English and brace formatting in recent merges.

8 years agoMerge branch 'scyganINTEL-struct_member_decorations'
John Kessenich [Tue, 17 May 2016 16:04:05 +0000 (10:04 -0600)]
Merge branch 'scyganINTEL-struct_member_decorations'

8 years agoMerge branch 'struct_member_decorations' of https://github.com/scyganINTEL/glslang...
John Kessenich [Tue, 17 May 2016 16:03:37 +0000 (10:03 -0600)]
Merge branch 'struct_member_decorations' of https://github.com/scyganINTEL/glslang into scyganINTEL-struct_member_decorations

8 years agoMerge pull request #286 from amdrexu/bugfix
John Kessenich [Tue, 17 May 2016 15:59:39 +0000 (09:59 -0600)]
Merge pull request #286 from amdrexu/bugfix

SPV: Correct an issue in createUnaryMatrixOperation().

8 years agoSPV: Correct an issue in createUnaryMatrixOperation().
Rex Xu [Tue, 17 May 2016 10:57:18 +0000 (18:57 +0800)]
SPV: Correct an issue in createUnaryMatrixOperation().

Type of the source is not necessarily the same as that of the destination.

8 years agoMerge pull request #285 from baldurk/vs2010-fixes
John Kessenich [Tue, 17 May 2016 06:31:36 +0000 (00:31 -0600)]
Merge pull request #285 from baldurk/vs2010-fixes

VS2010 compilation fixes

8 years agoSPV: Don't add clip/cull distance capabilities unless used.
John Kessenich [Tue, 17 May 2016 01:22:05 +0000 (19:22 -0600)]
SPV: Don't add clip/cull distance capabilities unless used.

These capabalities were added on declaration of the members, but
that is considered too aggressive, as those members are automatically
declared in some shaders that don't use them.  Now, actual access
is needed to make the capabalities be declared.

8 years agoTests: Add a set of gtest-file-based HLSL tests.
John Kessenich [Mon, 16 May 2016 23:39:50 +0000 (17:39 -0600)]
Tests: Add a set of gtest-file-based HLSL tests.

8 years agoCompile fix - if _MSC_VER is undefined, _MSC_VER < 1700 is true!
baldurk [Mon, 16 May 2016 23:38:56 +0000 (01:38 +0200)]
Compile fix - if _MSC_VER is undefined, _MSC_VER < 1700 is true!

8 years ago[VS2010] Define strtoll() and atoll() functions
baldurk [Mon, 16 May 2016 23:28:44 +0000 (01:28 +0200)]
[VS2010] Define strtoll() and atoll() functions

8 years ago[VS2010] Locally define std::to_string on VS2010 as well as android
baldurk [Mon, 16 May 2016 23:23:57 +0000 (01:23 +0200)]
[VS2010] Locally define std::to_string on VS2010 as well as android

8 years ago[VS2010] Remove use of ranged-for loops
baldurk [Mon, 16 May 2016 23:19:23 +0000 (01:19 +0200)]
[VS2010] Remove use of ranged-for loops

8 years ago[VS2010] Remove use of "= default" and "= delete"
baldurk [Mon, 16 May 2016 23:17:06 +0000 (01:17 +0200)]
[VS2010] Remove use of "= default" and "= delete"

8 years ago[VS2010] Change "using X = Y;" to "typedef Y X;"
baldurk [Mon, 16 May 2016 23:16:46 +0000 (01:16 +0200)]
[VS2010] Change "using X = Y;" to "typedef Y X;"

8 years agoMerge pull request #284 from antiagainst/gtest-hlsl
John Kessenich [Mon, 16 May 2016 22:56:40 +0000 (16:56 -0600)]
Merge pull request #284 from antiagainst/gtest-hlsl

Tests: Add support for testing file-based HLSL source code in GTest.

8 years agoMerge pull request #253 from amdrexu/bugfix2
John Kessenich [Mon, 16 May 2016 22:49:20 +0000 (16:49 -0600)]
Merge pull request #253 from amdrexu/bugfix2

SPV: Handle matrix's OpFConvert vector by vector.

8 years agoMerge pull request #281 from amdrexu/bugfix
John Kessenich [Mon, 16 May 2016 22:47:51 +0000 (16:47 -0600)]
Merge pull request #281 from amdrexu/bugfix

Parser: Add missing vector relational functions for double type.

8 years agoMerge pull request #282 from baldurk/android-warning-fix
John Kessenich [Mon, 16 May 2016 22:47:01 +0000 (16:47 -0600)]
Merge pull request #282 from baldurk/android-warning-fix

Build: Minor android compile warning fix

8 years agoAdd support for testing file-based HLSL source code in GTest.
Lei Zhang [Mon, 16 May 2016 16:50:30 +0000 (12:50 -0400)]
Add support for testing file-based HLSL source code in GTest.

8 years agoUse DetachThreadLinux wrapper on android
baldurk [Sat, 14 May 2016 12:57:41 +0000 (14:57 +0200)]
Use DetachThreadLinux wrapper on android

* Fixes a warning - static function being defined but not used.
* Just in case any more code is added to DetachThreadLinux, this will go
  through the same path on both platforms.

8 years agoParser: Add missing vector relational functions for double type.
Rex Xu [Sat, 14 May 2016 06:21:16 +0000 (14:21 +0800)]
Parser: Add missing vector relational functions for double type.

8 years agoSPV: Handle matrix's OpFConvert vector by vector.
Rex Xu [Wed, 27 Apr 2016 10:48:17 +0000 (18:48 +0800)]
SPV: Handle matrix's OpFConvert vector by vector.

8 years agoHLSL: Add function call syntax and AST building.
John Kessenich [Fri, 13 May 2016 15:33:42 +0000 (09:33 -0600)]
HLSL: Add function call syntax and AST building.

8 years agoMerge pull request #278 from greg-lunarg/greg-mr3
John Kessenich [Thu, 12 May 2016 22:51:15 +0000 (16:51 -0600)]
Merge pull request #278 from greg-lunarg/greg-mr3

Build: fix for -Werror=non-virtual-dtor for Android system builds

8 years agoMerge pull request #276 from amdrexu/bugfix
John Kessenich [Thu, 12 May 2016 20:22:56 +0000 (14:22 -0600)]
Merge pull request #276 from amdrexu/bugfix

Parser: Redeclare gl_ClipDistance/gl_CullDistance should update their array sizes.

8 years agoMerge pull request #277 from amdrexu/bugfix3
John Kessenich [Thu, 12 May 2016 20:18:13 +0000 (14:18 -0600)]
Merge pull request #277 from amdrexu/bugfix3

SPV: Add capability ImageGatherExtended if necessary.

8 years agofix for -Werror=non-virtual-dtor for Android system builds
GregF [Wed, 11 May 2016 20:46:48 +0000 (14:46 -0600)]
fix for -Werror=non-virtual-dtor for Android system builds

8 years agoSPV: Add capability ImageGatherExtended if necessary.
Rex Xu [Wed, 11 May 2016 08:38:50 +0000 (16:38 +0800)]
SPV: Add capability ImageGatherExtended if necessary.

8 years agoParser: Redeclare gl_ClipDistance/gl_CullDistance should update their array sizes.
Rex Xu [Wed, 11 May 2016 07:50:41 +0000 (15:50 +0800)]
Parser: Redeclare gl_ClipDistance/gl_CullDistance should update their array sizes.

8 years agoMerge pull request #274 from antiagainst/stoul-strtoul
John Kessenich [Tue, 10 May 2016 18:30:26 +0000 (12:30 -0600)]
Merge pull request #274 from antiagainst/stoul-strtoul

Use strtoul instead of stoul for Android.

8 years agoUse strtoul instead of stoul for Android.
Lei Zhang [Tue, 10 May 2016 17:38:08 +0000 (13:38 -0400)]
Use strtoul instead of stoul for Android.