- 19 Mar, 2019 2 commits
-
-
John Kessenich authored
Avoid undefined behaviour
-
Laurie authored
Prior to this change, OES_primitive_bounding_box and EXT_primitive_bounding_box were both recognised as extensions, but only the name gl_BoundingBoxOES could be used. However the EXT version uses the name gl_BoundingBoxEXT instead. In addition, since GLES 3.2, the extension has been included in the core standard and the name gl_BoundingBox may be used instead. This change aims to make both extensions and the 3.2 core version all work.
-
- 18 Mar, 2019 5 commits
-
-
John Kessenich authored
Suppress MSVC warning about unused variable.
-
John Kessenich authored
Avoid running the validator as part of the optimization pass.
-
Jamie Madill authored
One variable was only used in an 'assert' call. MSVC flagged this as unused in Release. Suppress the warning and also add a static cast to void so the variable becomes referenced.
-
Panagiotis Christopoulos Charitos authored
The spvtools::Optimizer::Run method glslang is using constructs a default set of spvtools::OptimizerOptions. This default set of options instructs the validator to run. That is not quite correct since glslang will invoke the validator _explicitly_ after the optimization pass. Change-Id: I30f458304c6e7f81e89fc4ebd25eabbbd8348063
-
John Kessenich authored
-
- 17 Mar, 2019 1 commit
-
-
John Kessenich authored
Error out writes to shaderRecordNV buffer blocks.
-
- 12 Mar, 2019 3 commits
-
-
John Kessenich authored
Update SPIRV-Tools and Headers
-
Ryan Harrison authored
Also mark spv.subgroupPartitioned as passing validation.
-
John Kessenich authored
GN: Make glslang_validator an executable.
-
- 11 Mar, 2019 1 commit
-
-
Jamie Madill authored
The target was accidentally listed as a source_set.
-
- 07 Mar, 2019 2 commits
-
-
John Kessenich authored
Move getBufferReferenceAlignment to be a method of TType
-
John Kessenich authored
Improved fix for buffer reference constants
-
- 06 Mar, 2019 4 commits
-
-
Jeff Bolz authored
This is a better place for it logically, since it is not specific to glsl->spirv translation. And in a future change I want to use it outside of glslangtospv.
-
Jeff Bolz authored
This is an alternate fix for the issue described in commit be63facd, whose solution didn't work if there were non-trivial operations involved in computing a constant initializer which caused the 'constant unfolding' code to kick in (addConstantReferenceConversion). Instead, this change does the 'unfolding' later in createSpvConstantFromConstUnionArray. If a reference-type constant has survived that long, then folding is already done, this must be a 'real' (inside a function) use of the constant, and it should be safe to unfold and apply the bitcast.
-
John Kessenich authored
Fix interactions between 'volatile' and the Vulkan memory model
-
John Kessenich authored
-
- 05 Mar, 2019 1 commit
-
-
Jeff Bolz authored
Last year we changed 'volatile' to also act as 'coherent', but when I resolved the memory model changes against that change I missed handling volatile in a couple places that we check for coherent. There was also a place in post-processing that acted as if the volatile memory access flag has a literal number associated with it, when it doesn't.
-
- 04 Mar, 2019 3 commits
-
-
John Kessenich authored
Handle buffer references vs 'const'
-
Ashwin Lele authored
-
Jeff Bolz authored
Allow constructors to and from references to be constant folded. Section 4.3.3 says constructors whose arguments are all constant expressions must fold. Disallow 'const' on buffer reference types. It is not a 'non-void transparent basic data type' (it is not considered 'basic'). Handle buffer reference constants (which can be assigned to a non-const reference, or can be further folded to another type of constant) by converting to 'constructor(uint64_t constant)' in addConversion. Disallow == and != operators on reference types.
-
- 28 Feb, 2019 2 commits
-
-
John Kessenich authored
Fix NV_EXTENSIONS-disabled build
-
Jeff Bolz authored
-
- 26 Feb, 2019 2 commits
-
-
John Kessenich authored
Implement GL_NV_cooperative_matrix
-
Jeff Bolz authored
-
- 25 Feb, 2019 1 commit
-
-
David Emett authored
-
- 22 Feb, 2019 2 commits
-
-
John Kessenich authored
PP: Fix #1605: Paste tokens for ## through number->letter transitions.
-
John Kessenich authored
-
- 21 Feb, 2019 7 commits
-
-
John Kessenich authored
Fix -Wextra-semi warnings in headers used in Chromium
-
John Kessenich authored
Fix type recursion with EOpIndexIndirect dereferences
-
Nico Weber authored
-
baldurk authored
* This primarily affects arrays-of-arrays but it can also affect arrays-of- structs if there are no further dereferences.
-
John Kessenich authored
Update SPIRV-Tools known good
-
John Kessenich authored
Allocate empty function name in the string pool.
-
John Kessenich authored
Fixup leak of TString
-
- 20 Feb, 2019 3 commits
-
-
Dan Sinclair authored
In decomposeIntrinsic a new TString was being allocated and passed into a TVariable. That string was leaking. This CL converts the new TString to call NewPoolTString to allocate from the TString pool.
-
Dan Sinclair authored
Inside the grammar for function_identifier if the .function is null an empty function name is allocated. This is allocated on the stack and passed into TFunction as a pointer. TFunction just stores that pointer. Later, when we access the name we will receive an invalid usage of a stack allocated variable. This CL switches to using NewPoolTStringn for the empty function name.
-
Greg Fischer authored
-
- 19 Feb, 2019 1 commit
-
-
John Kessenich authored
PP: Remove sub-tokens in macro recording and record spaces correctly.
-