Commit Graph

4503 Commits

Author SHA1 Message Date
ahagan
b5aae62731 Add whitelist filtering for debug comments in SPIRV-Remap. 2022-05-11 12:08:25 -04: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
Greg Fischer
d15deba1d8
Merge pull request #2891 from dneto0/hlsl-namespace
Fix Test/hlsl.namespace.frag test case
2022-02-16 16:15:20 -07:00
David Neto
63dbacaa94 Fix Test/hlsl.namespace.frag test case
Before this change, the example is rejected by DXC:

$ dxc -T ps_6_0 hlsl.namespace.frag
hlsl.namespace.frag:22:73: error: call to non-static member function
without an object argument
    return N1::getVec() + N2::getVec() + N2::N3::getVec() + N2::N3::C1::getVec() * N2::gf;
                                                                ~~~~~~~~~~~~^~~~~~

The call to the class member function requires an object, or we ned to
make the function static.  This update makes the function static.

This also fixes SPIR-V validation: without this change the call
to that getVec does not have enough arguments:

error: line 69: OpFunctionCall Function <id>'s parameter count does not
match the argument count.
  %43 = OpFunctionCall %v4float %N2__N3__C1__getVec_
2022-02-16 17:17:08 -05:00
Greg Fischer
90d4bd05cd
Merge pull request #2888 from mrpippy/python3
Explicitly use Python 3 for scripts
2022-02-10 14:16:44 -07:00
Greg Fischer
cf02eda7ca
Merge pull request #2887 from mbechard/master
avoid leaving decorations on auto-push-constants
2022-02-10 11:57:37 -07:00
Brendan Shanks
25555a7f62 Explicitly use Python 3 for scripts 2022-02-10 09:36:50 -08:00
Malcolm Bechard
be202ef9ba avoid leaving decorations on auto-push-constants
uniform blocks that are upgraded to push_constants shouldn't have
set/binding etc. decorations applied to them
2022-02-09 18:44:22 -05:00
Greg Fischer
b7ba87bcfe
Merge pull request #2886 from greg-lunarg/i2875
Fix sameElementShape test of sampler
2022-02-07 13:09:13 -07:00