- Sep 15, 2017
-
-
xavier authored
-
John Kessenich authored
-
John Kessenich authored
-
John Kessenich authored
HLSL: allow split type in InputPatch template type, & HS return types.
-
- Sep 14, 2017
-
-
LoopDawg authored
InputPatch parameters to patch constant functions were not using the internal (temporary) variable type. That could cause validation errors if the input patch had a mixture of builtins and user qualified members. This uses the entry point's internal form. There is currently a limitation: if an InputPatch is used in a PCF, it must also have appeared in the main entry point's parameter list. That is not a limitation of HLSL. Currently that situation is detected and an "implemented" error results. The limitation can be addressed, but isn't yet in the current form of the PR.
-
LoopDawg authored
Hull shaders have an implicitly arrayed output. This is handled by creating an arrayed form of the provided output type, and writing to the element of it indexed by InvocationID. The implicit indirection into that array was causing some troubles when copying to a split structure. handleAssign was able to handle simple symbol lvalues, but not an lvalue composed of an indirection into an array.
-
- Sep 13, 2017
-
-
John Kessenich authored
There was some ambiguity/contradiction in this behavior, and Khronos decided glslang should always have these outside blocks, rather than have stage/vendor/target variations.
-
- Sep 12, 2017
-
-
John Kessenich authored
GLSL: Promote HLSL entry-point renaming code to be used by GLSL as well.
-
John Kessenich authored
Fixes #1045.
-
John Kessenich authored
Implement the extension GL_AMD_shader_fragment_mask
-
John Kessenich authored
Build: Fix strdup -> _strdup warnings.
-
John Kessenich authored
-
John Kessenich authored
-
John Kessenich authored
-
John Kessenich authored
-
John Kessenich authored
Delete unused 'this' capture
-
John Kessenich authored
-
- Sep 11, 2017
-
-
mchock-nv authored
Remove an unused 'this' entry from a lambda capture list. This cleans up a unused-lambda-capture warning.
-
- Sep 09, 2017
-
-
amhagan authored
-
- Sep 08, 2017
-
-
John Kessenich authored
Add stdin option (fixes #598)
-
- Sep 07, 2017
-
-
Sven-Hendrik Haase authored
-
John Kessenich authored
Fix lvalue test in SPIR-V generation
-
- Sep 06, 2017
-
-
LoopDawg authored
There were several locations in TGlslangToSpvTraverser::handleUserFunctionCall testing for whether a fn argument should be in the lvalue or rvalue array. They must get the same result for indexing sanity, but had slightly different logic. They're now forced into the same test.
-
- Sep 01, 2017
-
-
John Kessenich authored
WIP: Linux build warning fix
-
John Kessenich authored
Fix issues of GL_ARB_viewport_layer_array
-
LoopDawg authored
* Remove complaint about unused function parameter in resolveUniformLocation() * Remove complaint about defined but not used variable in spvIR.h
-
- Aug 31, 2017
-
-
Rex Xu authored
-
John Kessenich authored
HLSL: add geometry stage support for clip/cull distance
-
LoopDawg authored
Changes: (1) Allow clip/cull builtins as both input and output in the same shader stage. Previously, not enough data was tracked to handle this. (2) Handle the extra array dimension in GS inputs. The synthesized external variable can now be created with the extra array dimension if needed, and the form conversion code is able to handle it as well. For example, both of these GS inputs would result in the same synthesized external type: triangle in float4 clip[3] : SV_ClipDistance triangle in float2 clip[3][2] : SV_ClipDistance In the second case, the inner array dimension packs with the 2-vector of floats into an array[4], which there is an array[3] of due to the triangle geometry.
-
- Aug 29, 2017
-
-
John Kessenich authored
HLSL: fix preprocessor concatenation behaviour.
-
John Kessenich authored
-
- Aug 28, 2017
-
-
xavier authored
Fix #772.
-
John Kessenich authored
HLSL: (minor) fix type on clip/cull index result
-
LoopDawg authored
While adding geometry stage support for clip/cull, it transpired that the existing clip/cull support was not setting the type of the result of indexing into the clup/cull variable. That's a defect independent of the geometry support, so to simplify the geometry PR, this is addressed separately. It doesn't appear to change the generated SPIR-V, but that's probably down to something else tolerating a bad input.
-
- Aug 26, 2017
-
-
John Kessenich authored
Fix #1019.
-
John Kessenich authored
Fix #1020. Fix #1021. Fix #1022.
-
- Aug 25, 2017
-
-
John Kessenich authored
SPV: 1st pass implementation of SPV_EXT_shader_viewport_index_layer.
-
John Kessenich authored
SPV reflection: Add OpModuleProcessed for compile options.
-
John Kessenich authored
-
John Kessenich authored
-