fbb58a4e0b
Build: Fix Linux for older compiler: Use TMap instead of TUndorderedMap.
John Kessenich
2017-02-03 11:21:24 -07:00
ec712ebea1
HLSL: fix copies between arrays of structs of builtins, and arrayed builtins.
steve-lunarg
2017-02-02 16:32:02 -07:00
abd8dca86d
HLSL: Make the entry-point shadow function have non-IO params and return.
John Kessenich
2017-02-01 18:09:17 -07:00
5d3023af03
HLSL: Type sanitization: create non-IO types for var decl and fn param/ret
steve-lunarg
2017-01-25 10:03:17 -07:00
0fe106afd2
AST: Have type deepCopy() preserve type graphs as graphs.
John Kessenich
2017-02-01 13:14:03 -07:00
02467d8d94
HLSL: Wrap the entry-point; need to write 'in' args, and support 'inout' args.
John Kessenich
2017-01-19 15:41:47 -07:00
aea3c890d3
Added --vn option to generate a C header file containing a variable assigned to the hex representation of the shader. This is a standard feature on Microsoft's HLSL compiler and it allows developers to include pre-compiled shaders directly into the code. This option enables "Hex output", so it is NOT required to specify -x as well. The output file name is preserved, so no ".h" extension is added. If you want the output file to have ".h" extension then you have to specify it on the output file name. The generated header file uses the "#pragma once" pragma to avoid multiple inclusions.
Flavio
2017-02-06 11:46:35 -08:00
18adbdbbb8
Resolve issue #700: allow initializers on struct members.
John Kessenich
2017-02-02 15:16:20 -07:00
913e3b686a
PP: Clean up and rationalize floating-point-number scanner.
John Kessenich
2017-01-12 12:00:59 -07:00
e86fc0946f
Merge pull request #664 from steve-lunarg/stage-io-fix
John Kessenich
2017-01-12 10:18:23 -07:00
dc1a8196cf
Infrastructure: Support standard build with ENABLE_HLSL set to off.
John Kessenich
2017-01-11 14:50:16 -07:00
65d538c832
Infrastructure: Protect against missing built-in symbol table generators.
John Kessenich
2017-01-11 14:24:56 -07:00
ce80197c22
Merge pull request #663 from KhronosGroup/full-include-semantics
John Kessenich
2017-01-10 18:49:07 -07:00
eaecfe7157
Merge pull request #668 from slime73/DisableHLSL
John Kessenich
2017-01-09 18:52:55 -07:00
ff21a25bc8
Change disabled-by-default DISABLE_HLSL option to enabled-by-default ENABLE_HLSL.
Alex Szpakowski
2017-01-09 18:10:14 -04:00
46d5428422
WIP: add other builtins to interstage IO
steve-lunarg
2017-01-07 09:07:14 -07:00
84eabf7ea7
Add a CMake option to disable compilation of HLSL input support.
Alex Szpakowski
2017-01-08 21:20:25 -04:00
5d89d4d483
Merge pull request #667 from slime73/Compiler-Warnings
John Kessenich
2017-01-08 16:11:24 -07:00
5f316d9b17
Reorder initializer fields to match variable declaration order (or vice versa) for several class constructors.
Alex Szpakowski
2017-01-08 18:21:17 -04:00
844dd45db6
Add a virtual destructor to a class which has virtual methods.
Alex Szpakowski
2017-01-08 17:57:21 -04:00
7d39ad584f
Mark an overriden method in a subclass with ‘override’.
Alex Szpakowski
2017-01-08 17:54:48 -04:00