- Oct 24, 2017
-
-
Aaron Muir Hamilton authored
-
John Kessenich authored
Update spirv-tools known-good
-
- Oct 23, 2017
-
-
GregF authored
-
John Kessenich authored
Only try swizzles on vectors, numbers, and booleans.
-
John Kessenich authored
Merge branch 'only-parse-inf-constant-in-hlsl' of https://github.com/xorgy/glslang into xorgy-only-parse-inf-constant-in-hlsl
-
John Kessenich authored
-
John Kessenich authored
Check for hexadecimal literals exceeding MaxTokenLength.
-
Aaron Muir Hamilton authored
-
- Oct 22, 2017
-
-
Aaron Muir Hamilton authored
-
- Oct 21, 2017
-
-
Aaron Muir Hamilton authored
-
- Oct 20, 2017
-
-
John Kessenich authored
Nonfunctional: minor: use std::array for per-set shifts, fix warning.
-
LoopDawg authored
Two unrelated, minor tweaks: (1) Use std::array for shiftBindingForSet. Now matches shiftBinding. (2) Add parens in shouldFlatten() to make compiler warning happy.
-
John Kessenich authored
Add per-descriptor-set IO mapping shift values.
-
John Kessenich authored
-
John Kessenich authored
-
- Oct 19, 2017
-
-
John Kessenich authored
-
LoopDawg authored
This PR adds the ability to provide per-descriptor-set IO mapping shift values. If a particular binding does not land into a per-set value, then it falls back to the prior behavior (global shifts per resource class). Because there were already 6 copies of many different methods and internal variables and functions, and this PR would have added 6 more, a new API is introduced to cut down on replication and present a cleaner interface. For the global (non-set-specific) API, the old entry points still exist for backward compatibility, but are phrased internally in terms of the following. // Resource type for IO resolver enum TResourceType { EResSampler, EResTexture, EResImage, EResUbo, EResSsbo, EResUav, EResCount }; Methods on TShader: void setShiftBinding(TResourceType res, unsigned int base); void setShiftBindingForSet(TResourceType res, unsigned int set, unsigned int base); The first method replaces the 6 prior entry points of various spellings, which exist now in depreciated form. The second provides per-resource-set functionality. Both accept an enum from the list above. From the command line, the existing options can accept either a single shift value as before, or a series of 1 or more [set offset] pairs. Both can be provided, as in: ... --stb 20 --stb 2 25 3 30 ... which will use the offset 20 for anything except descriptor set 2 (which uses 25) and 3 (which uses 30).
-
John Kessenich authored
-
John Kessenich authored
Desktop defaults to highp for samplers, but this should not apply to the built-in functions, so make it appy only to user declarations.
-
John Kessenich authored
Preprocessor: Evaluate INT_MIN / -1 to 0.
-
- Oct 18, 2017
-
-
John Kessenich authored
HLSL: Partially flatten hierarchies, instead of all or nothing.
-
Aaron Muir Hamilton authored
This division is undefined behaviour which raises SIGFPE on x86. Most C++ preprocessors evaluate this silently to 0.
-
- Oct 17, 2017
-
-
John Kessenich authored
-
John Kessenich authored
GLSL: Don't try to swizzle void.
-
Aaron Muir Hamilton authored
-
GregF authored
-
- Oct 16, 2017
-
-
John Kessenich authored
Also, rationalized this to generally make it safer and more readable. It could use a more modern approach, at some point...
-
John Kessenich authored
-
John Kessenich authored
-
John Kessenich authored
-
- Oct 13, 2017
-
-
John Kessenich authored
Fixes #1088.
-
- Oct 12, 2017
-
-
John Kessenich authored
Fixes #1092. Allows arrays of opaques to keep arrayness, unless needed by uniform array flattening. Can handle assignments of mixed amounts of flattening.
-
- Oct 11, 2017
-
-
John Kessenich authored
HLSL: nonfunctional: add helper access methods to TAttributeMap
-
- Oct 10, 2017
-
-
John Kessenich authored
Set cmake-policy CMP0048 to NEW
-
John Kessenich authored
HLSL: nonfunctional: rename setId -> switchId, add comment
-
John Kessenich authored
Add getAsLoopNode() method for TIntermLoop
-
LoopDawg authored
There was some code replication around getting string and integer values out of an attribute map. This adds new methods to the TAttributeMap class to encapsulate some accessor details.
-
Tim Diekmann authored
-
- Oct 08, 2017
-
-
He Dejing authored
follow local conventions of spaces
-
- Oct 07, 2017
-
-
LoopDawg authored
Method rename, add comment about its intended use. No test diffs.
-