- 30 Mar, 2017 5 commits
-
-
steve-lunarg authored
-
steve-lunarg authored
SPIR-V requires that tessellation factor arrays be size 4 (outer) or 2 (inner). HLSL allows other sizes such as 3, or even scalars. This commit converts between them by forcing the IO types to be the SPIR-V size, and allowing copies between the internal and IO types to handle these cases.
-
steve-lunarg authored
This PR emulates per control point inputs to patch constant functions. Without either an extension to look across SIMD lanes or a dedicated stage, the emulation must use separate invocations of the wrapped entry point to obtain the per control point values. This is provided since shaders are wanting this functionality now, but such an extension is not yet available. Entry point arguments qualified as an invocation ID are replaced by the current control point number when calling the wrapped entry point. There is no particular optimization for the case of the entry point not having such an input but the PCF still accepting ctrl pt frequency data. It'll work, but anyway makes no so much sense. The wrapped entry point must return the per control point data by value. At this time it is not supported as an output parameter.
-
John Kessenich authored
-
John Kessenich authored
-
- 29 Mar, 2017 5 commits
-
-
John Kessenich authored
HLSL: Fix an issue of frexp().
-
John Kessenich authored
Don't emit NV-specific interface members if NV extensions are disabled.
-
Rex Xu authored
-
Rex Xu authored
The "exp" parameter is floating-point type in HLSL intrinsic while it is integer type in GLSL built-in function.
-
Rex Xu authored
-
- 28 Mar, 2017 1 commit
-
-
John Kessenich authored
-
- 25 Mar, 2017 2 commits
-
-
John Kessenich authored
-
John Kessenich authored
-
- 24 Mar, 2017 2 commits
-
-
John Kessenich authored
HLSL: fix crash on empty struct return from entry point
-
steve-lunarg authored
-
- 23 Mar, 2017 2 commits
-
-
John Kessenich authored
-
John Kessenich authored
This allows global initializers to use $Global members.
-
- 22 Mar, 2017 3 commits
-
-
John Kessenich authored
-
John Kessenich authored
Thanks to @steve-lunarg for his input and discussions on handling member functions.
-
John Kessenich authored
Another precurser to getting member non-static functions working.
-
- 20 Mar, 2017 4 commits
-
-
John Kessenich authored
HLSL: use prefix for builtin functions names to avoid namespace colli…
-
John Kessenich authored
HLSL: Buffer types should be unsampled.
-
steve-lunarg authored
It would have been possible for globally scoped user functions to collide with builtin method names. This adds a prefix to avoid polluting the namespace. Ideally this would be an invalid character to use in user identifiers, but as that requires changing the scanner, for the moment it's an unlikely yet valid prefix.
-
John Kessenich authored
Still need: pass by reference in SPIR-V and symbol-table level for accessing 'this' members from member functions.
-
- 19 Mar, 2017 3 commits
-
-
John Kessenich authored
-
John Kessenich authored
Also use this to move deferred member-function-body parsing to a better place. This should also be well poised for implementing the 'namespace' keyword.
-
steve-lunarg authored
-
- 17 Mar, 2017 1 commit
-
-
steve-lunarg authored
RWBuffer objects were generating (properly) unsampled resoures, while Buffer objects were not. This fixes that.
-
- 16 Mar, 2017 3 commits
-
-
John Kessenich authored
Adding a test for this also uncovered an extraneous \r in the runtests script, fixed now.
-
John Kessenich authored
SPV: Fix unexpected declarations of capability and extension
-
Rex Xu authored
-
- 15 Mar, 2017 5 commits
-
-
John Kessenich authored
-
John Kessenich authored
Fix building on MinGW-w64
-
John Kessenich authored
-
https://github.com/TiemoJung/glslangJohn Kessenich authored
Merge branch 'semantic_handling' of https://github.com/TiemoJung/glslang into TiemoJung-semantic_handling
-
John Kessenich authored
Makes some white-space differences in most output, plus a few cases where more could have been put out but was cut short by the previous fix-sized buffer.
-
- 14 Mar, 2017 3 commits
-
-
John Kessenich authored
-
John Kessenich authored
These were recently added for all profiles, versus just desktop.
-
John Kessenich authored
-
- 13 Mar, 2017 1 commit
-
-
John Kessenich authored
-