Commit Graph

4160 Commits

Author SHA1 Message Date
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
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
greg-lunarg
b50ac578dd
Merge pull request #2587 from mbechard/master
Don't check precision qualifiers on cross-stage checks
2021-03-22 17:39:47 -06:00
Jeremy Hayes
13e27f9dd0 Default to KHR extension
Fix #2530.
2021-03-22 13:42:43 -06:00
Malcolm Bechard
8bbd41f274 Don't check precision qualifiers on cross-stage checks
Fixes #2586
2021-03-22 15:06:44 -04:00
greg-lunarg
6701c2540b
Merge pull request #2583 from nullcatalyst/bazel-windows-bat
Add cmd_bat action to bazel export_spirv_headers target
2021-03-22 11:49:55 -06:00
greg-lunarg
6848167e94
Merge pull request #2582 from JustSid/master
Fixed OpGroupNonUniformQuadBroadcast Direction operand being marked as a literal
2021-03-22 11:44:52 -06:00
Scott Bennett
50dce096d9 Add cmd_bat action to bazel export_spirv_headers target
Only having `cmd` rather than separate `cmd_bash` and `cmd_bat` (or
`cmd_ps`) requires bash to be installed on Windows. So adding support
for `cmd_bat` makes glslangValidator easier to compile on Windows.
2021-03-19 21:20:46 -04:00
greg-lunarg
847a19cd2b
Merge pull request #2581 from mbechard/InconsistentGLPerVertex
Partial fix for inconsistencies re: #2578
2021-03-19 17:38:51 -06:00
Sidney Just
7662557d2a Fixed OpGroupNonUniformQuadBroadcast Direction operand being marked as a literal 2021-03-19 13:26:53 -07:00
Malcolm Bechard
9b962f611c Partial fix for inconsistencies re: #2578
gl_SecondaryPositionNV and gl_PositionPerViewNV are inconsistently
declared inside and outside of gl_PerVertex. This breaks interface block
matching. For now ignore these errors since it should be fixed with how
they are declared.
2021-03-19 16:18:42 -04:00
greg-lunarg
979319b9b1
Merge pull request #2579 from mbechard/master
Fix issue with remapping global uniform blocks
2021-03-18 17:22:13 -06:00
greg-lunarg
d18bcd64fa
Merge pull request #2574 from feifei14119/master
fix typo for u64vec2/3/4 type define value
2021-03-17 18:21:16 -06:00
Malcolm Bechard
5340752190 Fix issue with remapping global uniform blocks
Avoid adding global uniform blocks to stages that don't already have it.
Otherwise multiple stages point to the same block object, and a
remapping that occurs later on will change the mapping on multiple
stages.
2021-03-17 19:30:22 -04:00
greg-lunarg
f5929b8c5f
Merge pull request #2577 from mbechard/master
fix variable capitalization. Don't initialize it in the struct's constructor
2021-03-17 15:46:13 -06:00
Malcolm Bechard
48f08c60e2 fix variable capitilization. Don't initialize it in the struct's constructor 2021-03-16 19:00:52 -04:00
greg-lunarg
b2e5b5c559
Merge pull request #2576 from KhronosGroup/revert-2569-revert-2242-GL_EXT_vulkan_glsl_relaxed
Revert "Revert "GL_ext_vulkan_glsl_relaxed extension support, and cross stage aware IO mapper""
2021-03-15 13:38:49 -06:00
greg-lunarg
4e064eef46
Revert "Revert "GL_ext_vulkan_glsl_relaxed extension support, and cross stage aware IO mapper"" 2021-03-15 11:26:11 -06:00
feifei14119
e3235cb2e4 1. fix macro definition value for unsinged-int64-vector, according to kronos spec at https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_gpu_shader_int64.txt; 2. fix typo in reflection 2021-03-15 16:54:31 +08:00
greg-lunarg
a36d91e5ac
Merge pull request #2569 from KhronosGroup/revert-2242-GL_EXT_vulkan_glsl_relaxed
Revert "GL_ext_vulkan_glsl_relaxed extension support, and cross stage aware IO mapper"
2021-03-10 14:05:36 -07:00
greg-lunarg
e063363878
Revert "GL_ext_vulkan_glsl_relaxed extension support, and cross stage aware IO mapper" 2021-03-10 11:26:43 -07:00
greg-lunarg
84e11a858c
Merge pull request #2565 from greg-lunarg/i2564
Pass correct proxy type for atomicStore
2021-03-09 02:15:26 -07:00
greg-lunarg
e3182379ba
Merge pull request #2242 from mbechard/GL_EXT_vulkan_glsl_relaxed
GL_ext_vulkan_glsl_relaxed extension support, and cross stage aware IO mapper
2021-03-08 14:43:32 -07:00
Greg Fischer
b5c8fd4fcf Pass correct proxy type for atomicStore
Fixes #2564
2021-03-08 14:19:31 -07:00
will brown
ecc9b9149f Implement GL_EXT_vulkan_glsl_relaxed option 2021-03-08 13:31:39 -05:00
greg-lunarg
c7c7982ebe
Merge pull request #2560 from amdrexu/bugfix
SPV: The capability string for RayTracingProvisionalKHR is missing
2021-03-08 10:31:48 -07:00
Rex Xu
1034727263 SPV: The capability string for RayTracingProvisionalKHR is missing
Add it to GLSLang disassembler.
2021-03-04 17:00:49 +08:00
greg-lunarg
159b057080
Merge pull request #2559 from greg-lunarg/i2555
Allow DepthUnchanged and DepthReplaced Modes in same SPIR-V module.
2021-03-01 21:05:58 -07:00
Greg Fischer
b479ce0bfa Allow DepthUnchanged and DepthReplaced Modes in same SPIR-V module.
Fixes #2555
2021-03-01 17:45:03 -07:00
greg-lunarg
0eca413092
Merge pull request #2558 from greg-lunarg/i2551
Allow grad texture ops in all shaders
2021-03-01 14:11:10 -07:00
Greg Fischer
740def238e Allow grad texture ops in all shaders
Fixes #2551
2021-03-01 12:34:53 -07:00
greg-lunarg
42ddfbd3d5
Merge pull request #2557 from greg-lunarg/i2552b
Fix off-by-1 bug in gl_MaxCombinedTextureImageUnits check
2021-03-01 10:41:30 -07:00