- 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 6 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
-
John Kessenich authored
-
John Kessenich authored
HLSL: add f16tof32 and f32tof16 decompositions.
-
- 27 Feb, 2017 3 commits
-
-
steve-lunarg authored
-
John Kessenich authored
-
John Kessenich authored
These correspond to SPV_KHR_device_group and SPV_KHR_multiview. Also, bring tests up to date with Khronos internals, and some misc. related changes.
-
- 26 Feb, 2017 1 commit
-
-
steve-lunarg authored
This PR adds the ability to pass structuredbuffer types by reference as function parameters. It also changes the representation of structuredbuffers from anonymous blocks with named members, to named blocks with pseudonymous members. That should not be an externally visible change.
-
- 25 Feb, 2017 1 commit
-
-
John Kessenich authored
-
- 23 Feb, 2017 2 commits
-
-
John Kessenich authored
Add reflection queries for thread local size. Add ssbo auto-binding.
-
John Kessenich authored
SPV: Unexpected declarations of capabilities from NV extensions.
-
- 22 Feb, 2017 3 commits
-
-
steve-lunarg authored
New command line option --shift-ssbo-binding mirrors --shift-ubo-binding, etc. New reflection query getLocalSize(int dim) queries local size, e.g, CS threads.
-
Rex Xu authored
-
John Kessenich authored
HLSL: implement 4 (of 6) structuredbuffer types
-
- 21 Feb, 2017 3 commits
-
-
steve-lunarg authored
This is a partial implemention of structurebuffers supporting: * structured buffer types of: * StructuredBuffer * RWStructuredBuffer * ByteAddressBuffer * RWByteAddressBuffer * Atomic operations on RWByteAddressBuffer * Load/Load[234], Store/Store[234], GetDimensions methods (where allowed by type) * globallycoherent flag But NOT yet supporting: * AppendStructuredBuffer / ConsumeStructuredBuffer types * IncrementCounter/DecrementCounter methods Please note: the stride returned by GetDimensions is as calculated by glslang for std430, and may not match other environments in all cases.
-
John Kessenich authored
Add override where needed by clang++
-
David Neto authored
Otherwise we get an error when we have both -Werror and -Winconsistent-missing-override. This is required for building with NDK r14 betas
-
- 18 Feb, 2017 2 commits
-
-
John Kessenich authored
-
John Kessenich authored
-