- Jun 12, 2018
-
-
John Kessenich authored
-
- Jun 08, 2018
-
-
John Kessenich authored
Update spirv-tools known-good
-
GregF authored
Includes the following spirv-opt improvements: Preserve inst-to-block and def-use in passes. Add store for var initializer in inlining. Handle types with self references.
-
- Jun 07, 2018
-
-
John Kessenich authored
Relax a stringToDouble test for, OSX AppleClang 9.1
-
David Neto authored
1e-323 was flushed to zero. 1e-308 is also flushed to zero. Use 1e-307 instead, which still satisfies the test intent. Fixes #1400
-
- Jun 05, 2018
-
-
John Kessenich authored
-
John Kessenich authored
-
- Jun 04, 2018
-
-
John Kessenich authored
The major version number was bumped in the previous commit to support this.
-
John Kessenich authored
-
John Kessenich authored
-
- Jun 03, 2018
-
-
John Kessenich authored
Fix several signed/unsigned comparison compile warnings.
-
- Jun 02, 2018
-
-
LoopDawg authored
-
- Jun 01, 2018
-
-
John Kessenich authored
Update spirv-tools known-good.
-
- May 31, 2018
-
-
GregF authored
Includes: Fold FMix feeding Extract, and use the simplification pass.
-
- May 28, 2018
-
-
John Kessenich authored
-
John Kessenich authored
CMake: use target_include_directories to expose includes
-
- May 27, 2018
-
-
Michael Maltese authored
This makes glslang simpler to embed in larger projects.
-
- May 25, 2018
-
-
John Kessenich authored
Fix TextureUpgradeAndSamplerRemovalTransform when used with qualifiers
-
John Kessenich authored
Add bit width of types to disassembleInstruction
-
John Kessenich authored
PP: Fix strtod problems: add tests, remove 2nd use, replace
-
John Kessenich authored
Fixes #1228. Fixes #234. This uses imbue() to be locale independent. Notes: - 'sstream >> double' is much slower than strtod() * this was measurable in the test suite as a whole, despite being a tiny fraction of what the test suite does - so, this embeds a fast path that bypasses sstream most of the time => the test suite is faster than before - sstream is probably slower, because it does more accurate rounding than strtod() - sstream does not create INFINITY by itself, this was done based on failure inferencing
-
Jeff Bolz authored
-
John Kessenich authored
This partly addresses #1228 and #234 by reducing usage of strtod (or atof). There is now only place to parse a floating-point number.
-
John Kessenich authored
- Adds a pragma to see binary output of double values (not portable) - Print decimals that show more values, but in a portable way (lots of portability issues) - Expand the tests to test more double values Note: it is quite difficult to have 100% portable tests for floating point. The current situation works by not printing full precision, and working around several portability issues.
-
- May 24, 2018
-
-
John Kessenich authored
Update spirv-tools known-good
-
GregF authored
Includes: Fold divide and multiply by same value. Allow ADCE to remove more instructions. Remove dead Workgroup variables in ADCE. Fold fclamp feeding compare. Add pass to fold a load feeding an extract. Remove redundant stores. SROA: Only create symbols that are loaded. Get ADCE to handle OpCopyMemory Remove the limit on struct size in SROA.
-
- May 21, 2018
-
-
Arseny Kapoulkine authored
The transform removes sampler arguments from functions and function calls; this causes function arguments to change their indices. When some function arguments have an output qualifier, this qualifier can get lost because of the removal which can lead to incorrect results (e.g. out qualifier not having effect). To fix this we iterate through both seq & qual arrays in lock-step and manually remove/replace entries as appropriate.
-
- May 19, 2018
-
-
John Kessenich authored
HLSL: allow self-type cast (as no-op passthrough)
-
- May 17, 2018
-
-
LoopDawg authored
Previously, casting an object of a struct type to an identical type would produce an error. This PR allows this case. As a side-effect of the change, several self-type casts in existing tests go away. For example: 0:10 Construct float ( temp float) 0:10 'f' ( in float) becomes this (without the unneeded constructor op): 0:10 'f' ( in float) For vector or array types this can result in somewhat less overall code. Fixes: #1218
-
John Kessenich authored
-
John Kessenich authored
-
John Kessenich authored
HLSL: require coverage mask to be arrayed output.
-
John Kessenich authored
Fix issue #1376: SPV_AMD_gpu_shader_half_float is not emitted under vulkan1.1
-
Rex Xu authored
vulkan1.1 Interpolation functions, using 16-bit interpolants, should always emit this extension string regardless of vulkan enviornment version.
-
- May 16, 2018
-
-
LoopDawg authored
SPIR-V requires the coverage mask to be an array of integers, but HLSL allows scalar integers. This adds the requisite type conversion and wrapped entry point handling. Fixes: #1202
-
John Kessenich authored
HLSL: various SPIR-V compute shader IDs must be 3-vectors of integers
-
LoopDawg authored
This PR forces the external definition of SV_GroupID variables to 3-vectors. The conversion process between the shader-declared type and the external type happens in wrapped main IO variable conversion. The same applies to SV_DispatchThreadID and SV_GroupThreadID. Fixes: #1371
-
John Kessenich authored
HLSL: Allow stream output Append() method after entry point.
-
- May 15, 2018
-
-
LoopDawg authored
Append() method is special: unlike most outputs, it does not copy some temporary data to a symbol in the entry point epilogue, but rather uses an emit builtin after each write to the output stream. This had been handled by remembering the special output symbol for the stream as it was declared in the shader entry point before symbol sanitization. However the prior code was too simple and only handled cases where the Append() method happened after the entry point, so that the output symbol had been seen. This PR adds a patching step so that the Append()s may appear in any order WRT the entry point. They are patched in an epilogue, whereupon it is guaranteed in a well formed shader that we have seen the appropriate declaration. Fixes #1217.
-
John Kessenich authored
-