platform/upstream/glslang.git
8 years agoMerge pull request #467 from dankbaker/HLSL_Changing_defualt_language
John Kessenich [Mon, 15 Aug 2016 21:14:55 +0000 (15:14 -0600)]
Merge pull request #467 from dankbaker/HLSL_Changing_defualt_language

HLSL: changing SPIRV defualt language for HLSL to unknown

8 years agoUpdating tests, sadly every single HLSL test needs updating becuase of the language...
Dan Baker [Mon, 15 Aug 2016 20:25:55 +0000 (16:25 -0400)]
Updating tests, sadly every single HLSL test needs updating becuase of the language identifier

8 years agoHLSL: Changing SPIRV source language to unkown
Dan Baker [Mon, 15 Aug 2016 20:05:45 +0000 (16:05 -0400)]
HLSL: Changing SPIRV source language to unkown

8 years agoMerge pull request #466 from baldurk/minor-msvc-warning-fix
John Kessenich [Mon, 15 Aug 2016 16:47:28 +0000 (10:47 -0600)]
Merge pull request #466 from baldurk/minor-msvc-warning-fix

fix x64 warning about conversion size_t -> int

8 years agofix x64 warning about conversion size_t -> int
baldurk [Mon, 15 Aug 2016 16:01:15 +0000 (18:01 +0200)]
fix x64 warning about conversion size_t -> int

8 years agoMerge pull request #458 from dneto0/revert-remap-64bit-patch
John Kessenich [Fri, 12 Aug 2016 21:02:40 +0000 (15:02 -0600)]
Merge pull request #458 from dneto0/revert-remap-64bit-patch

Revert "Merge pull request #456 from steve-lunarg/remapper-literal64"

8 years agoRevert "Merge pull request #456 from steve-lunarg/remapper-literal64"
David Neto [Fri, 12 Aug 2016 20:49:21 +0000 (16:49 -0400)]
Revert "Merge pull request #456 from steve-lunarg/remapper-literal64"

This reverts commit ad08b30f696267ec6243dd0ad68a3db889cd2d21, reversing
changes made to 28660bb580d4c61e16ef75008550a87b3be90b91.

This backs out the pull request
https://github.com/KhronosGroup/glslang/pull/456 because it introduced
several internal errors even on code that only uses 32-bit numeric
types.

8 years agoMerge pull request #456 from steve-lunarg/remapper-literal64
John Kessenich [Fri, 12 Aug 2016 17:33:19 +0000 (11:33 -0600)]
Merge pull request #456 from steve-lunarg/remapper-literal64

SPIRV: Remapper: allow 64 bit literals in OperandVariableLiteralId iteration

8 years agoSPIRV: allow 64 bit literals in OperandVariableLiteralId class iteration.
steve-lunarg [Fri, 12 Aug 2016 03:07:45 +0000 (21:07 -0600)]
SPIRV: allow 64 bit literals in OperandVariableLiteralId class iteration.

8 years agoMerge pull request #450 from dankbaker/standalone_change
John Kessenich [Thu, 11 Aug 2016 22:37:52 +0000 (16:37 -0600)]
Merge pull request #450 from dankbaker/standalone_change

Allowing explicit specification of shader compiltion type via -T opti…

8 years agoStandalong: Changing -T to -S since it's a stage now instead of a target
Dan Baker [Thu, 11 Aug 2016 21:53:57 +0000 (17:53 -0400)]
Standalong: Changing -T to -S since it's a stage now instead of a target

8 years agoStandalone: Changing some comments and user strings
Dan Baker [Thu, 11 Aug 2016 18:55:49 +0000 (14:55 -0400)]
Standalone: Changing some comments and user strings

8 years agoChanging target to stage
Dan Baker [Thu, 11 Aug 2016 18:06:06 +0000 (14:06 -0400)]
Changing target to stage

8 years agoMerge pull request #427 from wesleygriffin/master
John Kessenich [Thu, 11 Aug 2016 16:11:13 +0000 (10:11 -0600)]
Merge pull request #427 from wesleygriffin/master

Build: Bump required CMake version down to 2.8.11

8 years agoMerge branch 'cpp-headers'
John Kessenich [Thu, 11 Aug 2016 16:00:57 +0000 (10:00 -0600)]
Merge branch 'cpp-headers'

8 years agoMerge pull request #451 from steve-lunarg/stagemask-all
John Kessenich [Thu, 11 Aug 2016 15:58:01 +0000 (09:58 -0600)]
Merge pull request #451 from steve-lunarg/stagemask-all

HLSL: Put all intrinsics in common stage symbol table

8 years agoHLSL: Put intrinsics in symbol table for all stages
steve-lunarg [Thu, 11 Aug 2016 13:29:30 +0000 (07:29 -0600)]
HLSL: Put intrinsics in symbol table for all stages

8 years agoInfrastructure: Make shared symbol-table cache complete, delete work around.
John Kessenich [Wed, 10 Aug 2016 01:15:17 +0000 (19:15 -0600)]
Infrastructure: Make shared symbol-table cache complete, delete work around.

Fixes issue #370 and replaces PR #371.

8 years agoMerge pull request #448 from steve-lunarg/promotions
John Kessenich [Tue, 9 Aug 2016 21:29:25 +0000 (15:29 -0600)]
Merge pull request #448 from steve-lunarg/promotions

HLSL: add implicit promotions for assignments and function returns.

8 years agoHLSL: add implicit promotions for assignments and function returns.
steve-lunarg [Tue, 9 Aug 2016 17:28:03 +0000 (11:28 -0600)]
HLSL: add implicit promotions for assignments and function returns.

8 years agoAllowing explicit specification of shader compiltion type via -T option, rather then...
dankbaker [Tue, 9 Aug 2016 01:43:07 +0000 (21:43 -0400)]
Allowing explicit specification of shader compiltion type via -T option, rather then looking at file extension. For HLSL files, this is nice because .hlsl extension is natively udnerstood by visual studio, likely to be used with the -e option.

8 years agoFront-end: Fix issue #443: dvec3 uses only 2 components of second location.
John Kessenich [Mon, 8 Aug 2016 21:31:36 +0000 (15:31 -0600)]
Front-end: Fix issue #443: dvec3 uses only 2 components of second location.

8 years agoTests: Test base case for fixing issue #443.
John Kessenich [Mon, 8 Aug 2016 20:11:28 +0000 (14:11 -0600)]
Tests: Test base case for fixing issue #443.

8 years agoHLSL: Smear scalars to match vectors for relational operations.
John Kessenich [Mon, 8 Aug 2016 01:14:22 +0000 (19:14 -0600)]
HLSL: Smear scalars to match vectors for relational operations.

Yield a vector relational compare and a vector result.

8 years agoWhitespace: Nonfunctional: fix inconsistent white space, esp. no tabs.
John Kessenich [Fri, 5 Aug 2016 23:34:34 +0000 (17:34 -0600)]
Whitespace: Nonfunctional: fix inconsistent white space, esp. no tabs.

8 years agoMerge pull request #436 from dankbaker/master
John Kessenich [Fri, 5 Aug 2016 23:29:43 +0000 (17:29 -0600)]
Merge pull request #436 from dankbaker/master

HLSL: disabling dx9 attempt to parse dx9 style samplers

8 years agoTests: Add some location-decoration tests, to aid PR #422.
John Kessenich [Fri, 5 Aug 2016 21:19:46 +0000 (15:19 -0600)]
Tests: Add some location-decoration tests, to aid PR #422.

8 years agoBuild: C++ headers: Replace PR #366 with a more directed version.
John Kessenich [Fri, 5 Aug 2016 20:04:23 +0000 (14:04 -0600)]
Build: C++ headers: Replace PR #366 with a more directed version.

8 years agoMerge branch 'master' of https://github.com/dankbaker/glslang
Dan Baker [Fri, 5 Aug 2016 18:56:40 +0000 (14:56 -0400)]
Merge branch 'master' of https://github.com/dankbaker/glslang

8 years agoMerge pull request #2 from KhronosGroup/master
dankbaker [Fri, 5 Aug 2016 18:55:44 +0000 (14:55 -0400)]
Merge pull request #2 from KhronosGroup/master

Integrating Master into dankbaker fork

8 years agoCommenting out attempt to parse DX9 samplers, since this is imcompatible with DX10...
Dan Baker [Fri, 5 Aug 2016 18:52:38 +0000 (14:52 -0400)]
Commenting out attempt to parse DX9 samplers, since this is imcompatible with DX10+ shaders

8 years agoPP: Add missing atoms that effect -E mode.
John Kessenich [Fri, 5 Aug 2016 04:46:19 +0000 (22:46 -0600)]
PP: Add missing atoms that effect -E mode.

When preprocessing only, some tokens were emitted as <bad token>.
This fixes them to preserve their original content.

This supplants PR #182, with a correction and test results.

8 years agoMerge pull request #429 from steve-lunarg/samplers.sm5
John Kessenich [Wed, 3 Aug 2016 20:35:07 +0000 (14:35 -0600)]
Merge pull request #429 from steve-lunarg/samplers.sm5

HLSL: Add GatherRed/Green/Blue/Alpha methods, inc 4-offset forms

8 years agoHLSL: Add GatherRed/Green/Blue/Alpha methods, inc 4-offset forms
steve-lunarg [Sun, 31 Jul 2016 16:37:02 +0000 (10:37 -0600)]
HLSL: Add GatherRed/Green/Blue/Alpha methods, inc 4-offset forms

8 years agoMerge pull request #1 from KhronosGroup/master
dankbaker [Wed, 3 Aug 2016 19:32:58 +0000 (15:32 -0400)]
Merge pull request #1 from KhronosGroup/master

Pull request from glslang master

8 years agoMerge pull request #431 from steve-lunarg/semicolon-fix
John Kessenich [Wed, 3 Aug 2016 18:07:45 +0000 (12:07 -0600)]
Merge pull request #431 from steve-lunarg/semicolon-fix

HLSL: allow semicolons between global scope declarations

8 years agoHLSL: allow semicolons between global scope declarations.
steve-lunarg [Wed, 3 Aug 2016 13:04:18 +0000 (07:04 -0600)]
HLSL: allow semicolons between global scope declarations.

8 years agoFront-end: Implement 2nd task of issue #400; precision of result and operation.
John Kessenich [Tue, 2 Aug 2016 01:44:00 +0000 (19:44 -0600)]
Front-end: Implement 2nd task of issue #400; precision of result and operation.

From the ES spec + Bugzilla 15931 and GL_KHR_vulkan_glsl:
- Update precision qualifiers for all built-in function prototypes.
- Implement the new algorithm used to distinguish built-in function
  operation precisions from result precisions.
Also add tracking of separate result and operation precisions, and
use that in generating SPIR-V.
(SPIR-V cares about precision of operation, while the front-end
cares about precision of result, for propagation.)

8 years agoMerge pull request #428 from dankbaker/master
John Kessenich [Tue, 2 Aug 2016 18:58:22 +0000 (12:58 -0600)]
Merge pull request #428 from dankbaker/master

HLSL: Fixing some casts that warn when compiled to 64 bit (size_t is 64 bit…

8 years agoFixing some casts that warn when compiled to 64 bit (size_t is 64 bit rather then...
Dan Baker [Tue, 2 Aug 2016 18:42:43 +0000 (14:42 -0400)]
Fixing some casts that warn when compiled to 64 bit (size_t is 64 bit rather then 32 bit)

8 years agobump required CMake version down to 2.8.11 since no features are required in cmake...
Wesley Griffin [Mon, 1 Aug 2016 19:36:15 +0000 (15:36 -0400)]
bump required CMake version down to 2.8.11 since no features are required in cmake>2.8.11 and this allows building on stock CentOS 7

8 years agoSPV: Prevent issue #415 with better semantic checking.
John Kessenich [Sun, 31 Jul 2016 18:39:46 +0000 (12:39 -0600)]
SPV: Prevent issue #415 with better semantic checking.

8 years agoPP: Fix issue #407; handle empty identifier.
John Kessenich [Sat, 30 Jul 2016 19:39:52 +0000 (13:39 -0600)]
PP: Fix issue #407; handle empty identifier.

The sequence

  #define m()
  int m"

creates a token of no length (a string of 0 size).  Protect
against a string of 0 size as well as the existing protect
against a null string.

8 years agoPP: Non-functional; fix typos and blank spaces.
John Kessenich [Sat, 30 Jul 2016 19:25:33 +0000 (13:25 -0600)]
PP: Non-functional; fix typos and blank spaces.

8 years agoPP: Fix issue #408: # as last character in macro.
John Kessenich [Sat, 30 Jul 2016 18:38:17 +0000 (12:38 -0600)]
PP: Fix issue #408: # as last character in macro.

This would look ahead for a second #, for token pasting, and if not
found, backup one token.  This is fine, unless at the end of line,
which would backup the #, rather than the look ahead.

8 years agoMerge pull request #424 from steve-lunarg/initializer-fix
John Kessenich [Sat, 30 Jul 2016 17:17:03 +0000 (11:17 -0600)]
Merge pull request #424 from steve-lunarg/initializer-fix

HLSL: allow trailing commas in initializer lists & scalar initialization

8 years agoHLSL: allow trailing commas in initializer lists & scalar initialization
steve-lunarg [Sat, 30 Jul 2016 16:36:09 +0000 (10:36 -0600)]
HLSL: allow trailing commas in initializer lists & scalar initialization

8 years agoHLSL: Add back in the [subcomponent] part of a 'register' decl.
John Kessenich [Sat, 30 Jul 2016 16:29:54 +0000 (10:29 -0600)]
HLSL: Add back in the [subcomponent] part of a 'register' decl.

8 years agoMerge pull request #423 from steve-lunarg/constructor-expr-fix
John Kessenich [Sat, 30 Jul 2016 16:28:38 +0000 (10:28 -0600)]
Merge pull request #423 from steve-lunarg/constructor-expr-fix

HLSL: Fix a grammar error related to constructors in paren expr

8 years agoHLSL: Fix a grammar error related to constructors in parenthetical expressions
steve-lunarg [Sat, 30 Jul 2016 13:38:55 +0000 (07:38 -0600)]
HLSL: Fix a grammar error related to constructors in parenthetical expressions

8 years agoFront-ends GLSL/HLSL: Fix initializer lists for structs of one member.
John Kessenich [Sat, 30 Jul 2016 00:22:22 +0000 (18:22 -0600)]
Front-ends GLSL/HLSL: Fix initializer lists for structs of one member.

Single member structs initialized with an initializer list had
an incorrect argument for constructor emulation.

8 years agoHLSL: Implement the register production.
John Kessenich [Fri, 29 Jul 2016 20:28:39 +0000 (14:28 -0600)]
HLSL: Implement the register production.

8 years agoHLSL: Implement packoffset production.
John Kessenich [Fri, 29 Jul 2016 19:03:05 +0000 (13:03 -0600)]
HLSL: Implement packoffset production.

8 years agoMerge pull request #421 from amdrexu/bugfix
John Kessenich [Fri, 29 Jul 2016 16:42:40 +0000 (10:42 -0600)]
Merge pull request #421 from amdrexu/bugfix

SPV: Fix an issue of ++/-- for dvec/dmat.

8 years agoSPV: Fix an issue of ++/-- for dvec/dmat.
Rex Xu [Fri, 29 Jul 2016 08:13:04 +0000 (16:13 +0800)]
SPV: Fix an issue of ++/-- for dvec/dmat.

8 years agoHLSL: Fix binary-expression associativity and termination issue.
John Kessenich [Fri, 29 Jul 2016 03:43:17 +0000 (21:43 -0600)]
HLSL: Fix binary-expression associativity and termination issue.

8 years agoHLSL: Add shape conversions for scalar -> vector assigments.
John Kessenich [Thu, 28 Jul 2016 23:53:56 +0000 (17:53 -0600)]
HLSL: Add shape conversions for scalar -> vector assigments.

Also, this allows turning on the error check for a failed assigment
when parsing.

This makes 39 HLSL tests have a working assignment that was previously
silently dropped, due to lack of this functionality.

8 years agoNon-functional: Rationalize location and use of mapTypeToConstructor().
John Kessenich [Thu, 28 Jul 2016 21:29:35 +0000 (15:29 -0600)]
Non-functional: Rationalize location and use of mapTypeToConstructor().

8 years agoMerge pull request #417 from steve-lunarg/buffers
John Kessenich [Thu, 28 Jul 2016 22:56:39 +0000 (16:56 -0600)]
Merge pull request #417 from steve-lunarg/buffers

HLSL: add Buffer support for Load method

8 years agoMerge pull request #419 from steve-lunarg/lerp-fix
John Kessenich [Thu, 28 Jul 2016 22:56:25 +0000 (16:56 -0600)]
Merge pull request #419 from steve-lunarg/lerp-fix

HLSL: add missing vec,vec,scalar form of lerp(), + test

8 years agoMerge pull request #420 from steve-lunarg/uint-literal-fix
John Kessenich [Thu, 28 Jul 2016 22:51:33 +0000 (16:51 -0600)]
Merge pull request #420 from steve-lunarg/uint-literal-fix

HLSL: allow uint literals, and add test for numeric suffixes

8 years agoHLSL: allow uint literals, and add test for numeric suffixes
steve-lunarg [Thu, 28 Jul 2016 20:49:48 +0000 (14:49 -0600)]
HLSL: allow uint literals, and add test for numeric suffixes

8 years agoHLSL: add missing vec,vec,scalar form of lerp(), + test
steve-lunarg [Thu, 28 Jul 2016 19:20:57 +0000 (13:20 -0600)]
HLSL: add missing vec,vec,scalar form of lerp(), + test

8 years agoHLSL: add Buffer support for Load method
steve-lunarg [Wed, 27 Jul 2016 21:46:48 +0000 (15:46 -0600)]
HLSL: add Buffer support for Load method

8 years agoFront-end: Fix issue #409, check for implicitly-sized binding arrays.
John Kessenich [Wed, 27 Jul 2016 20:43:01 +0000 (14:43 -0600)]
Front-end: Fix issue #409, check for implicitly-sized binding arrays.

8 years agoInfrastructure: Address issue #414, build instructions.
John Kessenich [Wed, 27 Jul 2016 19:14:36 +0000 (13:14 -0600)]
Infrastructure: Address issue #414, build instructions.

8 years agoMerge pull request #416 from steve-lunarg/samplers.calclod
John Kessenich [Wed, 27 Jul 2016 18:17:10 +0000 (12:17 -0600)]
Merge pull request #416 from steve-lunarg/samplers.calclod

HLSL: Add CalculateLevelOfDetail, and unimplemented errors for *Uncla…

8 years agoHLSL: Add CalculateLevelOfDetail, and unimplemented errors for *Unclamped and GetSamp...
steve-lunarg [Tue, 26 Jul 2016 14:57:53 +0000 (08:57 -0600)]
HLSL: Add CalculateLevelOfDetail, and unimplemented errors for *Unclamped and GetSamplePosition

8 years agoHLSL: Implement ?: grammar productions.
John Kessenich [Wed, 27 Jul 2016 16:39:57 +0000 (10:39 -0600)]
HLSL: Implement ?: grammar productions.

Missing are implicit conversions between int/bool/etc.

8 years agoHLSL: Report failed assignments; some were silently not happening.
John Kessenich [Wed, 27 Jul 2016 16:24:31 +0000 (10:24 -0600)]
HLSL: Report failed assignments; some were silently not happening.

Starting out with this turned off, so tests can be locally fixed,
then will turn it on.

8 years agoMerge pull request #413 from steve-lunarg/samplers.2dms
John Kessenich [Wed, 27 Jul 2016 16:10:10 +0000 (10:10 -0600)]
Merge pull request #413 from steve-lunarg/samplers.2dms

HLSL: add 2DMS texture formats, and matching Load / GetDimensions sup…

8 years agoHLSL: add 2DMS texture formats, and matching Load / GetDimensions support
steve-lunarg [Tue, 26 Jul 2016 21:19:28 +0000 (15:19 -0600)]
HLSL: add 2DMS texture formats, and matching Load / GetDimensions support

8 years agoSPV: For AST interpolateAt* ops consuming a swizzle, invert the order.
John Kessenich [Tue, 26 Jul 2016 18:50:38 +0000 (12:50 -0600)]
SPV: For AST interpolateAt* ops consuming a swizzle, invert the order.

Apply the interpolation first, then apply the swizzle to the result,
the inverse of the order requested by the AST.  This fixes issue #411.

8 years agoMerge pull request #405 from steve-lunarg/samplers
John Kessenich [Tue, 26 Jul 2016 15:40:46 +0000 (09:40 -0600)]
Merge pull request #405 from steve-lunarg/samplers

HLSL: Add gather, improve proto generator machine for upcoming 2DMS/S…

8 years agoMerge pull request #406 from steve-lunarg/pp_line
John Kessenich [Tue, 26 Jul 2016 15:39:48 +0000 (09:39 -0600)]
Merge pull request #406 from steve-lunarg/pp_line

HLSL: enable #line extension by default for HLSL source.

8 years agoREADME: Fix numbered list.
John Kessenich [Mon, 25 Jul 2016 22:27:24 +0000 (16:27 -0600)]
README: Fix numbered list.

8 years agoREADME: Update the component list.
John Kessenich [Mon, 25 Jul 2016 22:21:08 +0000 (16:21 -0600)]
README: Update the component list.

8 years agoHLSL: cbuffer and tbuffer grammar and production.
John Kessenich [Mon, 25 Jul 2016 22:05:33 +0000 (16:05 -0600)]
HLSL: cbuffer and tbuffer grammar and production.

8 years agoHLSL: enable #line extension by default for HLSL source.
LoopDawg [Sat, 23 Jul 2016 02:46:03 +0000 (20:46 -0600)]
HLSL: enable #line extension by default for HLSL source.

8 years agoMerge pull request #404 from phaulos/fix-spirv-remap
John Kessenich [Sat, 23 Jul 2016 03:28:15 +0000 (21:28 -0600)]
Merge pull request #404 from phaulos/fix-spirv-remap

Remapper: Remap Scope and MemorySemantics IDs in SPIRV remapper

8 years agoHLSL: Add gather, improve proto generator machine for upcoming 2DMS/Shadow
LoopDawg [Fri, 22 Jul 2016 14:28:11 +0000 (08:28 -0600)]
HLSL: Add gather, improve proto generator machine for upcoming 2DMS/Shadow

8 years agoRemap Scope and MemorySemantics IDs in SPIRV remapper
Pyry Haulos [Fri, 22 Jul 2016 16:57:28 +0000 (09:57 -0700)]
Remap Scope and MemorySemantics IDs in SPIRV remapper

Scope and MemorySemantics operands contain IDs as well and may need
remapping.

8 years agoMerge pull request #402 from steve-lunarg/samplers
John Kessenich [Thu, 21 Jul 2016 21:47:27 +0000 (15:47 -0600)]
Merge pull request #402 from steve-lunarg/samplers

HLSL: Add SampleLevel method

8 years agoFront-end: Fix default layout(component) widths and correct for doubles.
John Kessenich [Thu, 21 Jul 2016 21:43:00 +0000 (15:43 -0600)]
Front-end: Fix default layout(component) widths and correct for doubles.

Replaces PR #372.

8 years agoInfrastructure: Remove bad characters from file.
John Kessenich [Thu, 21 Jul 2016 21:41:10 +0000 (15:41 -0600)]
Infrastructure: Remove bad characters from file.

8 years agoTests: line-number change only: make room for more component tests.
John Kessenich [Thu, 21 Jul 2016 21:39:23 +0000 (15:39 -0600)]
Tests: line-number change only: make room for more component tests.

8 years agoHLSL: Add SampleLevel method
LoopDawg [Thu, 21 Jul 2016 21:02:16 +0000 (15:02 -0600)]
HLSL: Add SampleLevel method

8 years agoMerge pull request #393 from steve-lunarg/warning-enable
John Kessenich [Thu, 21 Jul 2016 20:46:21 +0000 (14:46 -0600)]
Merge pull request #393 from steve-lunarg/warning-enable

Build: Add g++/clang warnings to match some enabled by /W4 in MSVC

8 years agoMerge pull request #401 from steve-lunarg/samplers
John Kessenich [Thu, 21 Jul 2016 20:41:47 +0000 (14:41 -0600)]
Merge pull request #401 from steve-lunarg/samplers

HLSL: Add texture Load method & decomposition

8 years agoMerge pull request #398 from amdrexu/feature
John Kessenich [Thu, 21 Jul 2016 20:39:27 +0000 (14:39 -0600)]
Merge pull request #398 from amdrexu/feature

AMD: Implement 4 AMD-specific extensions.

8 years agoAdd g++/clang warnings to match some enabled by /W4 in MSVC.
LoopDawg [Mon, 18 Jul 2016 16:11:05 +0000 (10:11 -0600)]
Add g++/clang warnings to match some enabled by /W4 in MSVC.

8 years agoHLSL: Add texture Load method & decomposition
LoopDawg [Wed, 20 Jul 2016 22:34:44 +0000 (16:34 -0600)]
HLSL: Add texture Load method & decomposition

8 years agoMerge pull request #399 from steve-lunarg/samplers
John Kessenich [Wed, 20 Jul 2016 23:54:53 +0000 (17:54 -0600)]
Merge pull request #399 from steve-lunarg/samplers

HLSL: Add SampleCmp and SampleCmpLevelZero texture methods

8 years agoVersions: Update version output.
John Kessenich [Wed, 20 Jul 2016 22:03:29 +0000 (16:03 -0600)]
Versions: Update version output.

Also, the per-build part had stopped auto-updating,
which is fixed locally as a git hook.

8 years agoHLSL: Add SampleCmp and SampleCmpLevelZero texture methods
LoopDawg [Tue, 19 Jul 2016 20:28:05 +0000 (14:28 -0600)]
HLSL: Add SampleCmp and SampleCmpLevelZero texture methods

8 years agoImplement 4 AMD-specific extensions.
Rex Xu [Thu, 5 May 2016 04:30:44 +0000 (12:30 +0800)]
Implement 4 AMD-specific extensions.

- Support GL_AMD_shader_ballot (SPV_AMD_shader_ballot).
- Support GL_AMD_shader_trinary_minmax (SPV_AMD_shader_trinary_minmax).
- Support GL_AMD_shader_explicit_vertex_parameter
  (SPV_AMD_shader_explicit_vertex_parameter).
- Support GL_AMD_gcn_shader (SPV_AMD_gcn_shader).

8 years agoFix issue #382: Detect implicitly-sized atomic_uint arrays.
John Kessenich [Tue, 19 Jul 2016 21:50:58 +0000 (15:50 -0600)]
Fix issue #382: Detect implicitly-sized atomic_uint arrays.

8 years agoFix issue #388.
John Kessenich [Tue, 19 Jul 2016 21:13:47 +0000 (15:13 -0600)]
Fix issue #388.

Protect more against error recovery of bad built-in variable redeclarations.

8 years agoFix issue #391: input stack underflow on too few macro arguments.
John Kessenich [Tue, 19 Jul 2016 20:32:52 +0000 (14:32 -0600)]
Fix issue #391: input stack underflow on too few macro arguments.

8 years agoMerge pull request #395 from steve-lunarg/samplers
John Kessenich [Tue, 19 Jul 2016 01:17:16 +0000 (19:17 -0600)]
Merge pull request #395 from steve-lunarg/samplers

HLSL: Add tx.GetDimensions method (uint returns only)