- 11 Mar, 2017 2 commits
-
-
John Kessenich authored
-
John Kessenich authored
-
- 10 Mar, 2017 4 commits
-
-
John Kessenich authored
Preserve signedness in SPIR-V image query ops
-
steve-lunarg authored
The AST->SPIRV translation of image queries was dropping signedness, causing some validation troubles.
-
John Kessenich authored
HLSL: preserve empty structures after splitting
-
steve-lunarg authored
-
- 09 Mar, 2017 8 commits
-
-
John Kessenich authored
-
John Kessenich authored
Compile fixes for VS2010
-
John Kessenich authored
HLSL: Enable GatherCmpRed. Green/Blue/Alpha cannot be supported.
-
baldurk authored
* Removed range-based for * Added explicit return type to non-trivial lambda * Added explicit scope for tInterstageIoData
-
steve-lunarg authored
This implements GatherCmpRed in terms of OpImageDrefGather. There appears to be no way to implement the Green/Blue/Apha forms: see #673.
-
John Kessenich authored
-
John Kessenich authored
This (and previous commit) is a better foundation to build real methods on.
-
John Kessenich authored
HLSL: Non-functional: Don't process function name/parameters before expected a function declaration.
-
- 08 Mar, 2017 3 commits
-
-
John Kessenich authored
HLSL: use LOD form of ImageQuerySize when needed.
-
John Kessenich authored
This is slightly cleaner today for entry-point wrapping, which sometimes made two subtrees for a function definition instead of just one subtree. It will be critical though for recognizing a struct with multiple member functions.
-
steve-lunarg authored
The non-LOD form of image size query is prohibited in certain cases: see the OpImageQuerySize and OpImageQuerySizeLod sections of the SPIR-V spec for details. Sometimes we were generating the non-LOD form when we should have been using the LOD form. Sometimes the LOD form is required even if the underlying HLSL query did not supply a MIP level itself, in which case level 0 is now queried.
-
- 07 Mar, 2017 2 commits
-
-
John Kessenich authored
-
John Kessenich authored
HLSL: Fix ordering defect if global SB decl after fn param
-
- 06 Mar, 2017 2 commits
-
-
steve-lunarg authored
This change propagates the storage qualifier from the buffer object to its contained array type so that isStructBufferType() realizes it is one. That propagation was happening before only for global variable declarations, so compilation defects would result if the use of a function parameter happened before a global declaration. This fixes that case, whether or not there ever is a global declaration, and regardless of the relative order. This changes the hlsl.structbuffer.fn.frag test to exercise the alternate order. There are no differences to generated SPIR-V for the cases which successfully compiled before.
-
John Kessenich authored
-
- 04 Mar, 2017 3 commits
-
-
John Kessenich authored
-
John Kessenich authored
Rename KHX_multiview/device_group to EXT_multiview/device to match the released specs
-
John Kessenich authored
-
- 03 Mar, 2017 3 commits
-
-
Daniel Koch authored
GL_KHX_multiview and GL_KHX_device_group don't exist, they were released as GL_EXT_multiview and GL_EXT_device_group.
-
John Kessenich authored
More build fixes
-
Daniel Koch authored
Fix another build warning on some platforms Use an explicit cast from size_t to int to avoid warning.
-
- 02 Mar, 2017 1 commit
-
-
John Kessenich authored
-
- 01 Mar, 2017 8 commits
-
-
John Kessenich authored
-
John Kessenich authored
Sanitize ShaderLang.h
-
John Kessenich authored
Fix build warnings on some platforms
-
John Kessenich authored
-
Daniel Koch authored
Use an explicit cast from size_t to int to avoid errors like the following: glslang\glslang\MachineIndependent\preprocessor\Pp.cpp(1053) : error C2220: warning treated as error - no 'object' file generated glslang\glslang\MachineIndependent\preprocessor\Pp.cpp(1053) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data affects Pp.cpp, hlslParseHelper.cpp. Initialize local variable to get rid of warningsa about potentially uninitialized variables: glslang\hlsl\hlslparsehelper.cpp(3667) : error C2220: warning treated as error - no 'object' file generated glslang\hlsl\hlslparsehelper.cpp(3667) : warning C4701: potentially uninitialized local variable 'builtIn' used affects hlslParseHelper.cpp
-
Jean-Sebastien Bevilacqua authored
ShaderLang.h contains declaration for `ShLink` function which is never defined. See this grep output: $grep -Hrn 'ShLink' glslang/Public/ShaderLang.h:206:SH_IMPORT_EXPORT int ShLink( glslang/Public/ShaderLang.h:214:SH_IMPORT_EXPORT int ShLinkExt( glslang/MachineIndependent/ShaderLang.cpp:1268:int ShLinkExt(
-
John Kessenich authored
-
John Kessenich authored
-
- 28 Feb, 2017 4 commits
-
-
John Kessenich authored
HLSL: small fix for index type in f16tof32 opcode
-
steve-lunarg authored
The f16tof32 opcode was indexing a vector with a float 0, rather than an int 0. It may have made no functional difference due to the identical bit pattern, but code looking at the type could be confused.
-
John Kessenich authored
-
John Kessenich authored
HLSL: add structuredbuffer pass by reference in fn params
-