- Mar 17, 2018
-
-
John Kessenich authored
Enabled via -fhlsl_functionality1
-
- Mar 16, 2018
-
-
John Kessenich authored
Add support for GL_NV_shader_noperspective_interpolation
-
John Kessenich authored
-
John Kessenich authored
Fix conversions
-
Ben Clayton authored
-
John Kessenich authored
Use the correct type for the constant for matrix/scalar division
-
John Kessenich authored
The base and shift amount need to be integers, but not of the same type. This fixes #1296 and replaces #1297.
-
John Kessenich authored
Historically, addConversion() was split to handle binary node <-> node conversions from non-binary node -> type conversions. However, the split wasn't entirely clean WRT HLSL design and left duplication of case statements, which are misleading, and this commit cleans up.
-
John Kessenich authored
Reinforces that conversion rules are operation-specific. Side effect is that HLSL logical-operator conversions are more direct (e.g. float -> bool, rather than float -> int -> bool).
-
- Mar 14, 2018
-
-
John Kessenich authored
Fix build several build errors
-
- Mar 13, 2018
-
-
Daniel Koch authored
glslang/SPIRV/SpvBuilder.cpp:2533:27: error: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Werror,-Wsign-compare] for (int c = 0; c < accessChain.swizzle.size(); ++c) ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. glslang/hlsl/hlslParseHelper.cpp:69:5: error: field 'cullDistanceInput' will be initialized after field 'clipDistanceOutput' [-Werror,-Wreorder] cullDistanceInput(nullptr), ^ 1 error generated. glslang/glslang/MachineIndependent/attribute.cpp:85:16: error: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Werror,-Wsign-compare] if (argNum >= args->getSequence().size()) ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.
-
John Kessenich authored
Replace en-dash with simple ASCII hyphen
-
Baldur Karlsson authored
* This means the source file is ASCII instead of (assumed) UTF-8 and doesn't cause warnings when compiling on non-western codepages.
-
Ben Clayton authored
-
Neil Roberts authored
When a matrix is divided by a scalar it tries to take the reciprocal of the scalar to convert the operation into a multiply. However it was always doing this by making a 32-bit constant. If the scalar is a double then this would end up making an FDiv instruction with different types in the operands. This patch adds a helper method called makeFpConstant which makes a floating-point constant of the given type. The code to take the reciprocal now uses it to make the same type as the result. Fixes https://github.com/KhronosGroup/glslang/issues/1278
-
- Mar 12, 2018
-
-
John Kessenich authored
Update known_good to SPIR-V 1.3 support
-
John Kessenich authored
HLSL: Correct some mistakes for min16 types
-
John Kessenich authored
include/Common.h: reorder includes to avoid redefinition on some platforms
-
Rex Xu authored
- Add missing constructor ops to support float16/int16/uint16 types - Allow half float literals - Correct two errors of double literal parse in HLSL: extension check and postfix
-
- Mar 11, 2018
-
-
Josh de Kock authored
On some systems sstream defines snprintf, this leads to the a redefinition of sprintf_s if snprintf is defined before checking if it exists in sstream.
-
- Mar 10, 2018
- Mar 08, 2018
-
-
John Kessenich authored
Fix memory leak upon ProcessDeferred failure.
-
John Kessenich authored
Allow --hlsl-enable-16bit-types to be used without AMD_EXTENSIONS
-
Rex Xu authored
-
siavashserver authored
-
- Mar 07, 2018
-
-
John Kessenich authored
Fixed GCC+Clang errors and warnings on Linux and OSX.
-
John Kessenich authored
-
-
John Kessenich authored
-
-
John Kessenich authored
-
https://github.com/sheredom/glslangJohn Kessenich authored
Merge branch 'fixup_sm_60_wording' of https://github.com/sheredom/glslang into sheredom-fixup_sm_60_wording
-
John Kessenich authored
Now, version 5.* is all connected to making the uint type, which doesn't quite work. Generator versions 4 and 6 do not do this.
-
Neil Henning authored
-
John Kessenich authored
SPV: Implement Vulkan 1.1 features and extensions.
-
Rex Xu authored
-
Rex Xu authored
-
Branimir Karadžić authored
-
- Mar 06, 2018
-
-
John Kessenich authored
-