- 25 Mar, 2016 1 commit
-
-
John Kessenich authored
SPV: Support specialization composite constants.
-
- 24 Mar, 2016 1 commit
-
-
qining authored
Fix issue #163, support creation and reference of composite type specialization constants. e.g.: ``` layout(constant_id = 200) const float myfloat = 1.25; layout(constant_id = 201) const int myint = 14; struct structtype { float f; int i; }; const structtype outer_struct_var = {myfloat, myint}; void main(){} ``` generated code (use glslangValidator): ``` // Module Version 10000 // Generated by (magic number): 80001 // Id's are bound by 12 Capability Shader 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Vertex 4 "main" Source GLSL 450 Name 4 "main" Name 10 "structtype" MemberName 10(structtype) 0 "f" MemberName 10(structtype) 1 "i" Decorate 7 SpecId 200 Decorate 9 SpecId 201 2: TypeVoid 3: TypeFunction 2 6: TypeFloat 32 7: 6(float) SpecConstant 1067450368 8: TypeInt 32 1 9: 8(int) SpecConstant 14 10(structtype): TypeStruct 6(float) 8(int) 11:10(structtype) SpecConstantComposite 7 9 4(main): 2 Function None 3 5: Label Return FunctionEnd ``` Rname two function names to match their functionalities. 1) Rename `GlslangToSpvTraverser::createSpvSpecConstant()` to `createSpvConstant()`; 2) Rename `GlslangToSpvTraverser::createSpvConstant()` to `createSpvConstantFromConstUnionArray()` Add function `GlslangToSpvTraverser::createSpvConstantFromSubTree()` to handle constant creation from sub trees (e.g.: specialization constants). Related PR: #208
-
- 22 Mar, 2016 2 commits
-
-
John Kessenich authored
VS2012: Fix a build issue in parser.
-
Rex Xu authored
-
- 21 Mar, 2016 6 commits
-
-
John Kessenich authored
Fixed compilation issue introduced by my last commit
-
Andrew Woloszyn authored
-
John Kessenich authored
Updated the includer interface to allow relative includes.
-
John Kessenich authored
-
Andrew Woloszyn authored
This plumbs both the current file path and the include depth back up to the includer. This allows the includer to properly support relative paths. This also replaces the string copy that was done during include with a zero-copy method of accomplishing the same thing. This prevents extra copies of entire files.
-
John Kessenich authored
-
- 20 Mar, 2016 3 commits
-
-
John Kessenich authored
-
John Kessenich authored
Much about const or temp is mechanical, about actual declaration, while much is semantic, about something higher level. This commit checks every use everywhere, and for the high-level ones, substitutes an encapsulated version instead.
-
John Kessenich authored
-
- 18 Mar, 2016 2 commits
-
-
John Kessenich authored
Parser: Type promotion for operator modulus(%) is missing.
-
Rex Xu authored
-
- 16 Mar, 2016 2 commits
-
-
John Kessenich authored
Support Linux-to-Windows cross compile via MinGW
-
David Neto authored
Change-Id: Ie52f0b1b2b20948c6f4b3cb5474537d36a5a3385
-
- 15 Mar, 2016 2 commits
-
-
John Kessenich authored
SPV: Implement boolean selection for mix().
-
Rex Xu authored
Use OpSelect to implement boolean selection of mix(). FMix is applicable to linear blending of mix().
-
- 11 Mar, 2016 2 commits
-
-
John Kessenich authored
SPV test: Test dead-decoration removal.
-
Dejan Mircevski authored
-
- 10 Mar, 2016 4 commits
-
-
John Kessenich authored
SPV: Remove decoration of undefined IDs
-
qining authored
-
John Kessenich authored
Preprocessor: Fix array out of bounds bug in processing if-else-endif macros.
-
qining authored
Fix issue #185 by removing OpDecorate instructions whose target IDs are defined in unreachable blocks and thus not dumped in the generated SPIR-V code.
-
- 09 Mar, 2016 2 commits
-
-
Lei Zhang authored
If we are not inside an if macro, we cannot simply decrease elsetracker. Fixes https://github.com/KhronosGroup/glslang/issues/29.
-
John Kessenich authored
-
- 08 Mar, 2016 3 commits
-
-
John Kessenich authored
SPV: Declare MultiViewport capability.
-
qining authored
-
qining authored
Fix issue #191: https://github.com/KhronosGroup/glslang/issues/191
-
- 06 Mar, 2016 4 commits
-
-
John Kessenich authored
SPV: Add support for memory qualifiers.
-
John Kessenich authored
SPV: Support the new OpCode - OpImageSparseRead
-
John Kessenich authored
-
John Kessenich authored
Remove bison binary
-
- 04 Mar, 2016 3 commits
-
-
John Kessenich authored
-
John Kessenich authored
SPV: Continue to fix the issue of bool -> uint32
-
John Kessenich authored
Fix line endings in Test/100.conf
-
- 03 Mar, 2016 2 commits
-
-
Brian Salomon authored
-
Rex Xu authored
For short-circuit operator (&& and ||), the conversion is missing.
-
- 01 Mar, 2016 1 commit
-
-
John Kessenich authored
-