- Dec 12, 2017
-
-
LoopDawg authored
Some stage (e.g, hull shaders) have arrayed builtin outputs (e.g, position). When copying from the internal structure to the split form, it is necessary to propagate that indirection to the actual arrayed outputs. This was not happening. Addresses #1181
-
John Kessenich authored
HLSL: add optional position.Y inversion
-
- Dec 09, 2017
-
-
John Kessenich authored
-
John Kessenich authored
This was listed as outputs for tessellation stages, but they are input only.
-
John Kessenich authored
HLSL: Allow primitive id on hull shader input
-
John Kessenich authored
HLSL: Stop flattening non-IO structs containing opaques.
-
- Dec 08, 2017
-
-
LoopDawg authored
Fixes #979
-
John Kessenich authored
This makes struct returns from functions work, but breaks structs containing arrays, due to limitations in subsequent transforms in spirv-opt. This is expected to be fixed soon.
-
- Dec 07, 2017
-
-
LoopDawg authored
Adds command line options: --invert-y --iy (synonyms) which invert position.Y on vertex shader output. Handles these cases: * Direct single variable return * Member of direct returned struct * Single variable output parameter * Member of struct output parameter API: // Enables position.Y output negation in vertex shader void TShader::setInvertY(bool invert); Fixes #1173
-
- Dec 06, 2017
-
-
John Kessenich authored
-
John Kessenich authored
-
- Dec 05, 2017
-
-
John Kessenich authored
Improve build instructions
-
Cory Bloor authored
- Mention that the instructions are written for Bash. - Quote the CMAKE_INSTALL_PREFIX to handle spaces in $(pwd). - Remove SSH clone instructions. Instructions on how to clone are for those unfamiliar with GitHub, so fewer options are better and SSH requires additional configuration to make work. - Replace ninja with make, because more people are familiar with it and we probably don't need to explain how to install it. Fixes #956. - Remove the section mentioning cygwin, as it's unclear and doesn't seem necessary. - Mention minimum language version in the Dependencies section. - Move `cd $BUILD_DIR` out of the Linux configuration section because it's needed on both platforms. Add a line about creating the build directory, too.
-
- Dec 04, 2017
-
-
John Kessenich authored
This continues to prevent writing output buffers (out from a function), but fixes the problem where the copy-in/out was not getting done. Making everything work will require knowing both in/out-ness and bufferness, but these are currently mutually exclusive, because both are storage qualifiers.
-
- Dec 02, 2017
-
-
John Kessenich authored
Update spirv-tools known-good
-
- Dec 01, 2017
-
-
John Kessenich authored
HLSL: minor: add warning for mat() matrix size truncation
-
GregF authored
This fixes spirv-tools issue 989 where if-break can be incorrectly deleted from a loop.
-
- Nov 30, 2017
-
-
LoopDawg authored
Minor change to add a compilation warning on implicit matrix size truncations.
-
- Nov 29, 2017
-
-
John Kessenich authored
-
John Kessenich authored
(This is motivated by wanting to retickle the tests.)
-
John Kessenich authored
#1165 invalid store
-
- Nov 28, 2017
-
-
John Kessenich authored
HLSL: allow keyword-identifiers as cbuffer/struct names.
-
John Kessenich authored
HLSL: add implicit mat*mat truncations
-
John Kessenich authored
Update spirv-tools known-good
-
LoopDawg authored
Issue #791 was partially fixed by PR #1161 (the mat mul implicit truncations were its main point), but it still wouldn't compile due to the use of ConstantBuffer as an identifier. Apparently those fall into the same class as "float float", where float is both a type and an identifier. This allows struct definitions with such keyword-identifiers, and adds ConstantBuffer to the set. 'cbuffer int' is legal in HLSL, and 'struct int' appears to only be rejected due to the redefinition of the 'int' type. Fixes #791
-
- Nov 27, 2017
-
-
GregF authored
This includes an enhancement to propagate through nested structs.
-
LoopDawg authored
Goes with PR #1161, and completes the space for mul() implicit truncations. Note that the v*v and scalar cases are already handled by existing code.
-
Sebastian Tafuri authored
-
Sebastian Tafuri authored
-
- Nov 25, 2017
-
-
John Kessenich authored
WIP: HLSL: matrix and vector truncations for m*v, v*m, m*m
-
- Nov 22, 2017
-
-
LoopDawg authored
HLSL truncates the vector, or one of the two matrix dimensions if there is a dimensional mismatch in m*v, v*m, or m*m. This PR adds that ability. Conversion constructors are added as required.
-
- Nov 21, 2017
-
-
John Kessenich authored
Completes a TODO from previous commit.
-
John Kessenich authored
-
John Kessenich authored
Fixes #916 (the last change covered by the PR). 3rd list item in #976.
-
- Nov 20, 2017
-
-
John Kessenich authored
Fixes #1158. Fixes #1159.
-
- Nov 17, 2017
-
-
John Kessenich authored
Addresses 2nd item in #976.
-
John Kessenich authored
-
- Nov 16, 2017
-
-
John Kessenich authored
-
- Nov 15, 2017
-
-
John Kessenich authored
HLSL: Accept unorm and snorm on types
-
John Kessenich authored
HLSL: ignore geometry attributes on non-GS stages.
-