Andrea Faulds
6cdae46314
Avoid duplicate BuiltIn variables for ray tracing matrices ( fix #2921 )
...
Fixes an issue where invalid SPIR-V was generated when
gl_ObjectToWorldEXT and gl_ObjectToWorld3x4EXT, or
gl_WorldToObjectEXT and gl_WorldToObject3x4EXT, were used in the same
shader. The SPIR-V specification requires that there be at most one
OpVariable decorated with a given BuiltIn value.
2022-06-01 10:43:13 +02:00
Greg Fischer
316f12ac1d
Merge pull request #2950 from qingyuanzNV/insert_opline_before_opfunction2
...
Generate OpLine Before OpFunction
2022-05-31 13:25:22 -06:00
Qingyuan Zheng
61d244145d
avoid using make_unique for c++11 compatibility
2022-05-31 10:40:25 -07:00
Qingyuan Zheng
b6df89b470
use unique_ptr to avoid calling deleted move ctor
2022-05-30 23:08:50 -07:00
Greg Fischer
7dda6a6347
Merge pull request #2952 from stu-s/EXT_fragment_shader_barycentric
...
Add support for VK_EXT_fragment_shader_barycentric
2022-05-26 10:41:25 -06:00
Greg Fischer
abc87e98fd
Merge pull request #2953 from greg-lunarg/mingw0
...
Fix build for clang + mingw32-make
2022-05-25 12:07:12 -06:00
Greg Fischer
25e97a5b06
Fix build for clang + mingw32-make
...
Fixes #2951
2022-05-25 11:02:09 -06:00
stusmith
ebf45697be
Add support for VK_EXT_fragment_shader_barycentric
2022-05-25 13:02:02 +01:00
Greg Fischer
604904fb93
Merge pull request #2947 from corporateshark/master
...
Add CInterface files and documentation
2022-05-24 14:14:56 -06:00
Greg Fischer
8735cdbf78
Merge pull request #2948 from Gabriele91/fix/HLSL-Instance-attribute-as-spirv-invocation-attribute
...
HLSL Instance attribute translated as spirv invocations attribute
2022-05-24 14:11:43 -06:00
Gabriele91
e28ec404a7
Add hlsl.instance.geom output
2022-05-24 20:09:20 +02:00
Gabriele Di Bari
353ef3ac3e
Add test for the instance param (geometry shader)
2022-05-24 18:53:39 +02:00
Qingyuan Zheng
279c28e70a
generate OpLine before OpFunction
2022-05-23 23:05:43 -07:00
Sergey Kosarevsky
7801230069
Add a new C interface example to README.md
2022-05-23 21:36:32 -07:00
Gabriele Di Bari
e314891598
handleEntryPointAttributes add EatInstance case
2022-05-21 17:00:24 +02:00
Sergey Kosarevsky
df01afe7b8
Android.mk: Add CInterface files
2022-05-20 23:00:43 -07:00
Greg Fischer
86ff4bca1d
Merge pull request #2945 from dneto0/remove-unused-var
...
Remove unused variable
2022-05-20 09:46:45 -06:00
David Neto
ea7e64cf50
Remove unused variable
2022-05-19 13:27:12 -04:00
Greg Fischer
2439e6d56d
Merge pull request #2943 from mbechard/master
...
fix structure indexing reassignment during block merging
2022-05-18 13:19:28 -06:00
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