Commit Graph

4510 Commits

Author SHA1 Message Date
Malcolm Bechard
67384dd18b fix structure indexing reassignment during block merging
For EOpIndexDirectStruct binaries, we want to visit the left symbol (the
structure) before we visit the binary, so it gets updated first.
That way we are comparing the updated structure against the target
'unitType', not the original structure.
2022-05-17 00:53:52 -04:00
Greg Fischer
2f5bc0b741
Merge pull request #2933 from AaronHaganAMD/whitelist
Add whitelist filtering for debug comments in SPIRV-Remap.
2022-05-11 13:45:33 -06:00
ahagan
b5aae62731 Add whitelist filtering for debug comments in SPIRV-Remap. 2022-05-11 12:08:25 -04:00
Greg Fischer
14f6e27304
Merge pull request #2940 from alelenv/spirv_intrinsics_rt_ops
Disable layout error check for RT ops in presence of EXT_spirv_intrinsics
2022-05-06 11:09:55 -06:00
Greg Fischer
38de612126
Merge pull request #2938 from mariusbjorge/GL_EXT_ray_cull_mask
Adding support for GL_EXT_ray_cull_mask
2022-05-06 11:07:14 -06:00
alelenv
521216aaaa
Disable layout error check for RT ops in presence of EXT_spirv_intrinsics
Fixes #2935
2022-05-05 21:46:58 -07:00
Marius Bjorge
dab6fc8960 Update spirv-tools and spirv-headers known good 2022-05-05 14:03:57 +02:00
Marius Bjorge
3015d00ee0 Adding support for GL_EXT_ray_cull_mask 2022-05-05 12:56:04 +02:00
Greg Fischer
e3bca2add6
Merge pull request #2932 from Ryp/master
Fix WavePrefixCountBits() being off by one.
2022-04-22 15:44:20 -06:00
Greg Fischer
a9fc91076a
Merge pull request #2928 from tellowkrinkle/patch-1
Add macOS hidden files to gitignore
2022-04-22 15:31:55 -06:00
Ryp
f906b895ec Fix WavePrefixCountBits() being off by one.
It was counting bits up to the current lane included, whereas the
documentation says it should be excluded. This now matches dxc's behavior
as well.

Fix #2929
2022-04-22 20:59:10 +03:00
tellowkrinkle
17c8387adc
Add macOS hidden files to gitignore 2022-04-16 20:21:41 -05:00
Greg Fischer
06ac141412
Merge pull request #2927 from ggfan/ndk-env-variable-update
Change ANDROID_NDK_ROOT to ANDROID_NDK_HOME in README.md
2022-04-15 10:45:00 -06:00
Gerry Fan
24e69505bd Change ANDROID_NDK_ROOT to ANDROID_NDK_HOME in README.md 2022-04-13 17:08:51 +00:00
Greg Fischer
48fd6c82b3
Merge pull request #2925 from SpaceIm/fix-mingw
CMake: fix MinGW build
2022-04-07 18:33:03 -06:00
SpaceIm
de2581ed0c fix MinGW
pre compiled headers leads to "internal error in mingw32_gt_pch_use_address, at config/i386/host-mingw32.c:192: MapViewOfFileEx: Attempt to access invalid address"
2022-04-07 21:18:27 +02:00
Greg Fischer
9bb8cfffb0
Merge pull request #2924 from greg-lunarg/r.11.9.0a
Release 11.9.0
2022-04-06 13:42:55 -06:00
Greg Fischer
df4ded3f93 Release 11.9.0 2022-04-06 13:05:55 -06:00
Greg Fischer
094e539b86
Merge pull request #2923 from greg-lunarg/kg123
Update spirv-tools known good
2022-04-06 13:01:04 -06:00
Greg Fischer
e77298891a Update spirv-tools known good 2022-04-06 12:00:57 -06:00
Greg Fischer
abbe466451
Merge pull request #2915 from EdoardoLuciani/master
Update README.md with ray tracing shader stages filename extensions
2022-03-28 12:07:30 -06:00
Greg Fischer
9617bdea15
Merge pull request #2917 from greg-lunarg/i2907
Improved comment for glslang_optimization_level_t
2022-03-28 12:04:17 -06:00
Greg Fischer
b88174e6fe Improved comment for glslang_optimization_level_t 2022-03-28 11:34:40 -06:00
Edoardo Luciani
5a41eb318f
Update README.md 2022-03-26 15:26:46 +00:00
Greg Fischer
870c75479f
Merge pull request #2913 from greg-lunarg/i2905
Generate Int8, Int16 and Float16 capabilities for constants
2022-03-25 15:56:18 -06:00
Greg Fischer
b7968b7dbc Generate Int8, Int16 and Float16 capabilities for constants
Fixes #2905
2022-03-25 14:36:01 -06:00
Greg Fischer
f1d286fcc2
Merge pull request #2851 from chaoticbob/version-override
Added GLSL version override functionality and CLI
2022-03-24 17:51:54 -06:00
Greg Fischer
3c12f20bcb
Update glsl.versionOverride.vert
Change shader original version to 110
2022-03-24 16:41:52 -06:00
Greg Fischer
dc5b531996
Update glsl.versionOverride.tese
Change shader original version to 110
2022-03-24 16:41:15 -06:00
Greg Fischer
03fe69d3cb
Update glsl.versionOverride.tesc
Change original shader to version 110
2022-03-24 16:40:18 -06:00
Greg Fischer
46edfaeec4
Update glsl.versionOverride.geom
Change original shader to version 110
2022-03-24 16:39:34 -06:00
Greg Fischer
c1e8a17442
Update glsl.versionOverride.frag
Change original shader to version 110
2022-03-24 16:37:42 -06:00
Greg Fischer
871e61fdf0
Update glsl.versionOverride.comp
Change original shader to version 110
2022-03-24 16:36:48 -06:00
Greg Fischer
f25ca1ec5e
Merge pull request #2912 from greg-lunarg/edic1
Add eliminate-dead-input-components to -Os
2022-03-24 13:43:40 -06:00
Greg Fischer
64cef8edd2
Merge pull request #2908 from Biswa96/cmake-spirv-remap
cmake: Install SPVRemapper runtime library
2022-03-24 13:25:38 -06:00
Greg Fischer
abbdf63cbe Add eliminate-dead-input-components to -Os 2022-03-24 13:22:44 -06:00
Greg Fischer
397086a5b0
Merge pull request #2911 from greg-lunarg/kg122
Update spirv-tools and spirv-headers known good
2022-03-24 12:12:40 -06:00
Greg Fischer
0988e868f5 Update spirv-tools and spirv-headers known good
To pick up support for spirv-opt --eliminate-dead-input-components
2022-03-24 10:23:19 -06:00
Greg Fischer
6d93773995
Merge pull request #2906 from apanteleev/escape-deps
Make depfiles compatible with Windows paths
2022-03-23 11:43:43 -06:00
sfricke-samsung
610fd6edf3
Prevent Push Constant blocks being an array (#2904)
* Prevent Push Constant blocks being an array

* Add push constant array error test

Co-authored-by: Greg Fischer <greg@lunarg.com>
2022-03-23 11:42:21 -06:00
Greg Fischer
c6f8e532dd
Merge pull request #2902 from ZhiqianXia/gl_FragCoord
The first redeclarations of gl_FragCoord must appear before any use.
2022-03-21 12:03:34 -06:00
Biswapriyo Nath
e80f2f8760
cmake: Install SPVRemapper runtime library
This installs SPVRemapper.dll file which was missing previously.
2022-03-15 19:26:57 +05:30
Alexey Panteleev
d44871ca08 Escape the characters that Make considers special in the dependency files. 2022-03-11 17:56:15 -08:00
ZhiqianXia
07f677028c The first redeclarations of gl_FragCoord must appear before any
use of gl_FragCoord.
2022-03-11 14:42:11 +08:00
Greg Fischer
538231d8b4
Merge pull request #2897 from ZhiqianXia/origin_upper_left
Fix the issue for GL_ARB_fragment_coord_conventions extension.
2022-03-01 14:50:55 -07:00
ZhiqianXia
438999d24f 1. refine the check for "origin_upper_left" and "pixel_center_integer"
2. gl_FragCoord can be used at ogl140 with extension "GL_ARB_fragment_coord_conventions".




Signed-off-by: ZhiqianXia <xzq0528@outlook.com>
2022-03-01 15:06:04 +08:00
Greg Fischer
43d585d863
Merge pull request #2895 from greg-lunarg/i2894
Don't do updatePrecision on float16_t operations
2022-02-24 17:57:22 -07:00
Greg Fischer
79a35ace7c Don't do updatePrecision on float16_t operations
float16_t does not take GLSL precisions and SPIR-V does not
support RelaxedPrecision on float16_t.

Fixes #2894
2022-02-24 15:03:13 -07:00
Greg Fischer
ac7f6a293e
Merge pull request #2892 from greg-lunarg/mb
Improve error message for image/sampler functions under enhanced-msgs
2022-02-23 16:34:36 -07:00
Greg Fischer
bbe692e731 Improve error message for image/sampler functions for enhanced-msgs
For recent GLSL versions, if texture2D function call appears, the error
message reports an unsupported type constructor. Change message to
unsupported function. Likewise for other removed texture* function calls.
2022-02-23 15:55:49 -07:00