Commit Graph

4190 Commits

Author SHA1 Message Date
Greg Fischer
56b17b2f2d
Merge pull request #2621 from Rob2309/auto-sampled-textures-tests
Added usage hint for --auto-sampled-textures and added test cases
2021-04-27 11:36:07 -06:00
Robin Quint
4bf373e9a3 Improved usage hint 2021-04-27 16:06:06 +02:00
Greg Fischer
18eef33bd7
Merge pull request #2624 from greg-lunarg/v011004000
Update CHANGES for 11.4.0
2021-04-23 02:16:52 -06:00
Greg Fischer
4e83d93b62 Update CHANGES for 11.4.0 2021-04-22 18:09:42 -06:00
Greg Fischer
4d658bd5d9
Merge pull request #2623 from greg-lunarg/except
Fix CMakeLists.txt to keep compatibility with CMake 3.10.2
2021-04-22 18:03:36 -06:00
Greg Fischer
7b51e234fe Fix CMakeLists.txt to keep compatibility with CMake 3.10.2 2021-04-22 16:30:17 -06:00
Robin Quint
e50b0a857c Added usage hint for --auto-sampled-textures, added test cases 2021-04-22 13:13:38 +02:00
Greg Fischer
25dd807c3a
Merge pull request #2620 from greg-lunarg/v011003000
Update CHANGES for 11.3.0
2021-04-21 22:58:39 -06:00
Greg Fischer
bc685667a7
Merge pull request #2619 from greg-lunarg/kg117
Update spirv-tools and spirv-headers known good
2021-04-21 22:57:06 -06:00
Greg Fischer
a6674e0120 Update CHANGES for 11.3.0 2021-04-21 18:42:12 -06:00
Greg Fischer
f90377e74a Update spirv-tools and spirv-headers known good 2021-04-21 18:33:46 -06:00
Greg Fischer
7f46558b8c
Merge pull request #2616 from Rob2309/standalone-hlsl-sampled-textures
Exposed #856 as --hlsl-sampled-textures in the StandAlone
2021-04-21 18:17:42 -06:00
Greg Fischer
ebfca6099f Change --hlsl-sampled-textures to --auto-sampled-textures 2021-04-21 16:49:53 -06:00
Greg Fischer
5bce773574
Merge pull request #2618 from DadSchoorse/depfile
Add a --depfile option in Standalone mode
2021-04-21 11:47:00 -06:00
Georg Lehmann
498d74d84c Add some basic --depfile tests 2021-04-20 18:12:39 +02:00
Georg Lehmann
f050209ce1 Add a --depfile option.
The output is similar to gcc -MMD and can be used by build systems
like meson to automatically recompile shaders if an included header
was changed.
2021-04-20 18:09:56 +02:00
Robin Quint
219b7b9f72 Exposed #856 as --hlsl-sampled-textures in the StandAlone 2021-04-20 07:58:36 +02:00
Greg Fischer
60ce877de0
Merge pull request #2609 from ZhiqianXia/Feature2
TextureOffset not support sampler2DArrayShadow sampler until 430.
2021-04-19 12:03:05 -06:00
Greg Fischer
8427437221
Merge pull request #2614 from ZaOniRinku/master
Typo in ShaderLang.h
2021-04-19 11:03:39 -06:00
Greg Fischer
12f3eb8e3f Fix and enable textureOffset_samper2darrayshadow test 2021-04-19 09:37:45 -06:00
ZaOniRinku
b67b6b359b
Fix typo in ShaderLang.h 2021-04-19 09:15:36 +02:00
Greg Fischer
ed948c8e12
Merge pull request #2612 from greg-lunarg/explicit0
Fix builtins for GL_EXT_shader_explicit_arithmetic_types for es
2021-04-16 17:42:16 -06:00
Greg Fischer
100457e095 Add missing builtins for GL_EXT_explicit_arithmetic_types for es 2021-04-16 15:39:11 -06:00
ZhiqianXia
41992e432c TextureOffset not support sampler2DArrayShadow sampler until 430.
Signed-off-by: ZhiqianXia <xzq0528@outlook.com>
2021-04-15 21:38:35 +08:00
Greg Fischer
b3859343a2
Merge pull request #2602 from jeremy-lunarg/hayes-2514
Issue error when declaration rule fails
2021-04-14 16:24:38 -06:00
Greg Fischer
e7e4a8eecb
Merge pull request #2522 from dneto0/intlog2
Add IntLog2 and use it
2021-04-14 15:16:04 -06:00
David Neto
fa6e3c2737 Add IntLog2 and use it
Replace uses of floating point log2 when we want an integer result from
an integer operand.  This avoids concerns about accuracy of floating
point library functions.
2021-04-13 14:09:44 -06:00
Greg Fischer
e6a0e7fc76
Merge pull request #2606 from greg-lunarg/semifix0
Get rid of extra semicolon causing gcc 10.3 troubles.
2021-04-13 10:16:50 -06:00
Greg Fischer
310a514717 Get rid of extra semicolon causing gcc 10.3 troubles. 2021-04-12 18:12:58 -06:00
Greg Fischer
a7f846a86c
Merge pull request #2601 from masterleming/always-install-resource-limits
Removed condition for glslang-default-resource-limits instalation.
2021-04-12 17:04:48 -06:00
Greg Fischer
5602195eed
Merge pull request #2603 from jeremy-lunarg/hayes-fix-key-whitespace
Fix table key and whitespace
2021-04-12 15:14:42 -06:00
Jeremy Hayes
634ba4743d Fix table key and whitespace
These got lost in the wash with my last revert but are still relevant.
2021-04-09 17:00:40 -06:00
Jeremy Hayes
4b900778c3 Issue error when declaration rule fails
Fix #2514.
2021-04-09 16:55:23 -06:00
Krzysztof Pilch
bb9746ae2d Fixed CMake configuration for resource-limits library. 2021-04-09 16:20:01 +02:00
Greg Fischer
9f76fd1330
Merge pull request #2600 from Drigax/add-tinterim-selection-condition-setter
Add setter for TInterimSelection.condition
2021-04-08 12:35:06 -06:00
Nicholas Barlow
cb2287751f Add setter for TInterimSelection.condition 2021-04-08 09:56:07 -07:00
Krzysztof Pilch
3549cd6ec2 Removed condition for glslang-default-resource-limits instalation.
This way the limits are available to clients that links statically.
2021-04-08 16:33:29 +02:00
Greg Fischer
4099f44448
Merge pull request #2599 from KhronosGroup/revert-2593-hayes-update-min-spv-requirement
Revert "Update minimum SPIR-V requirement for GL_EXT_buffer_reference"
2021-04-08 08:25:23 -06:00
Greg Fischer
186e66c1a3
Revert "Update minimum SPIR-V requirement for GL_EXT_buffer_reference" 2021-04-07 15:20:16 -06:00
Greg Fischer
1481399549
Merge pull request #2598 from greg-lunarg/noprop1
Do not propagate packing qualifiers to scalars or vectors
2021-04-06 18:04:50 -06:00
Greg Fischer
02132406bc Do not propagate packing qualifiers to scalars or vectors
Packing qualifiers have no practical effect on scalars or vectors
so this is unnecessary and its confusing tools downstream that
consume the AST.
2021-04-06 15:40:22 -06:00
Greg Fischer
5878bcb17e
Merge pull request #2593 from jeremy-lunarg/hayes-update-min-spv-requirement
Update minimum SPIR-V requirement for GL_EXT_buffer_reference
2021-04-01 12:32:57 -06:00
Greg Fischer
7bdff2b724
Merge pull request #2597 from greg-lunarg/interp0
Fix SPIR-V for HLSL EvaluateAttribute* of interpolants in structs
2021-04-01 02:37:08 -06:00
Greg Fischer
7fbaca0d06 Fix SPIR-V for HLSL EvaluateAttribute* of interpolants in structs
Generate load of interpolant for first operand to GLSLstd450
InterpolateAt* SPIR-V ops. This allows the interpolants to
propagate from the input struct in the wrapper around main
into the shader during HLSL legalization. A new pass has been
added to legalization which will remove the load and replace
with the pointer of the load to create valid external
interpolate op.

Fixes #2584
2021-04-01 00:31:31 -06:00
Greg Fischer
6dc24ffa47
Merge pull request #2590 from pmistryNV/GL_ARB_sparse_texture2-bug-fix
For bug #2580: sparseTextureGatherOffsetsARB should only take constant offsets
2021-03-30 18:33:31 -06:00
Pankaj Mistry
18cfc3f106 For bug #2580: sparseTextureGatherOffsetsARB should only take constant offsets. 2021-03-29 14:27:17 -07:00
Jeremy Hayes
97dfbe2c4b Update minimum SPIR-V requirement
Require SPIR-V 1.3 when using GL_EXT_buffer_reference.
Migrate tests to SPIR-V 1.3 fixture as necessary.
Fix extension table key.
Fix whitespace.
2021-03-29 15:10:43 -06:00
greg-lunarg
2c7c84c8ac
Merge pull request #2589 from ben-clayton/fix-warnings
Fix warnings about int comparisons of different signness
2021-03-23 10:29:38 -06:00
Ben Clayton
591651da3d Fix warnings about int comparisons of different signness
Warnings in public headers can trigger warnings-as-errors.
2021-03-23 10:47:59 +00:00
greg-lunarg
c51a774ebd
Merge pull request #2588 from jeremy-lunarg/hayes-2530
Default to KHR extension
2021-03-22 17:42:43 -06:00