Hitesh A. Bosamiya
df7fa1b92b
[SC-2189] Compiler::get_shader_resources() does not return all uniforms
2023-08-26 11:35:16 +05:30
Hans-Kristian Arntzen
acf51c1b9f
Merge pull request #2191 from KhronosGroup/mesh-clip-cull-fix
...
GLSL: Fix Clip/Cull in mesh shaders.
2023-08-25 12:55:00 +02:00
Hans-Kristian Arntzen
b76394e66a
GLSL: Fix Clip/Cull in mesh shaders.
2023-08-25 11:59:21 +02:00
Hans-Kristian Arntzen
633dc30135
Merge pull request #2187 from KhronosGroup/mesh-invariant-position
...
GLSL: Emit inline invariant position for mesh shaders.
2023-08-17 13:51:54 +02:00
Hans-Kristian Arntzen
a3f026815a
Merge pull request #2186 from KhronosGroup/64bit-images
...
GLSL: Implement 64-bit image support.
2023-08-17 13:50:29 +02:00
Hans-Kristian Arntzen
e7e2e8cef0
Merge pull request #2185 from KhronosGroup/perprimitive-fix
...
GLSL: Require mesh shader when using perprimitiveEXT in frag shader.
2023-08-17 13:50:22 +02:00
Hans-Kristian Arntzen
62664e421b
Merge pull request #2184 from KhronosGroup/msl-runtime-array-to-argument-buffer
...
Land PR 2179
2023-08-17 13:50:13 +02:00
Hans-Kristian Arntzen
79d63934a6
GLSL: Emit inline invariant position for mesh shaders.
...
Work around missing feature from GLSL. Normally we can emit a global
invariant gl_Position; and call it a day, but it does not work for mesh
shaders it seems. Declaring invariance inside an explicit IO block works
fine on the other hand ...
2023-08-17 12:45:54 +02:00
Hans-Kristian Arntzen
5e3ea64843
GLSL: Implement 64-bit image support.
2023-08-17 12:17:55 +02:00
Hans-Kristian Arntzen
5ffc813dc4
GLSL: Require mesh shader when using perprimitiveEXT in frag shader.
2023-08-17 12:07:11 +02:00
Hans-Kristian Arntzen
44966e5000
MSL: Fixup nits from review.
2023-08-17 12:01:26 +02:00
Try
844cb59cd6
MSL: runtime array over argument buffers
2023-08-17 11:37:29 +02:00
Hans-Kristian Arntzen
637c211c6f
Merge pull request #2153 from etang-cw/TexFence
...
[WIP] MSL: Prevent RAW hazards on read_write textures
2023-08-17 11:05:55 +02:00
Evan Tang
894113f55b
MSL: Make rw texture fences optional
2023-08-15 11:32:33 -05:00
Evan Tang
4405dd6b28
MSL: Prevent RAW hazards on read_write textures
2023-08-15 11:32:33 -05:00
Hans-Kristian Arntzen
bccaa94db8
Merge pull request #2178 from billhollings/arg-buff-fixes
...
Fix argument buffer padding when content includes arrays.
2023-07-26 10:52:38 +02:00
Bill Hollings
05524e7f82
Fix argument buffer padding when content includes arrays.
...
- When determining need for arg buffer padding, use the descriptor count provided
by the app, rather than the shader, to determine the number of slots consumed,
as the shader may only be accessing part, or even one element, of the array.
2023-07-14 18:57:34 -04:00
Hans-Kristian Arntzen
b43c1a1e63
Merge pull request #2176 from Try/msl-intersection-params
...
MSL: ray-query intersection params
2023-07-14 16:02:40 +02:00
Try
6b2ae11830
update rq unit tests
2023-07-03 21:45:34 +02:00
Try
35b23ef48f
update rq unit tests
2023-07-03 20:04:23 +02:00
Try
62331b6ac6
+ spvMakeIntersectionParams
...
#2115
2023-07-03 19:57:46 +02:00
Hans-Kristian Arntzen
b8e742c91b
Merge pull request #2174 from KhronosGroup/pr-2168
...
Land PR 2168
2023-07-03 15:52:20 +02:00
Hans-Kristian Arntzen
87e1ca4290
Add test for plain variable mesh position.
2023-07-03 14:25:22 +02:00
Hans-Kristian Arntzen
8ec95fbe16
Consider dynamically indexed gl_Position in mesh.
2023-07-03 14:20:27 +02:00
Hans-Kristian Arntzen
601b60c531
Consider plain Position builtin variable as well.
2023-07-03 14:15:26 +02:00
Hans-Kristian Arntzen
a3d711cbf1
HLSL: Move new mesh shader around to more suitable location.
2023-07-03 14:03:04 +02:00
Hans-Kristian Arntzen
a065c3b48a
Merge branch 'dx12-mesh-flip-y' of https://github.com/Try/SPIRV-Cross into pr-2168
2023-07-03 13:55:02 +02:00
Try
68376504a0
track access to meshlet position.y, via SPIRExpression
2023-07-01 15:49:35 +02:00
Hans-Kristian Arntzen
aafcc207ea
HLSL: Add explicit error for floating point atomics.
2023-06-26 12:41:36 +02:00
Hans-Kristian Arntzen
9f463569c4
Merge pull request #2172 from cdavis5e/msl-legacy-subgroup
...
MSL: Support `SPV_KHR_shader_ballot` and `SPV_KHR_subgroup_vote`.
2023-06-26 12:27:06 +02:00
Hans-Kristian Arntzen
61d5ae9caa
Apply suggestions from code review
2023-06-26 12:23:34 +02:00
Hans-Kristian Arntzen
4f7e62d174
Merge pull request #2170 from cdavis5e/preserve-numeric-ids
...
Use --preserve-numeric-ids when assembling test shaders.
2023-06-26 12:19:25 +02:00
Chip Davis
00f14ce74f
MSL: Support SPV_KHR_shader_ballot
and SPV_KHR_subgroup_vote
.
...
Normally, I wouldn't have bothered with this, given that we already
support the Vulkan 1.1 subgroup functionality, but a client asked for
the legacy extensions.
2023-06-24 15:53:04 -07:00
Chip Davis
68f0257f26
Use --preserve-numeric-ids when assembling test shaders.
...
This makes it easier to debug codegen for these shaders.
2023-06-23 14:54:16 -07:00
Try
34f7bd00cd
flip-y-test
2023-06-18 16:19:49 +02:00
Try
85a564202f
meshlet flip-y support
2023-06-18 16:06:31 +02:00
Hans-Kristian Arntzen
2d3a152081
Merge pull request #2167 from KhronosGroup/fix-2154
...
Skip line directives when emitting loop condition blocks.
2023-06-12 15:07:41 +02:00
Hans-Kristian Arntzen
0e1ce21d75
Skip line directives when emitting loop condition blocks.
...
Avoids problem where enabling line directives breaks loop optimizations
since it thinks there are legitimate statements in the block.
2023-06-12 12:33:58 +02:00
Hans-Kristian Arntzen
030d0be28c
Merge pull request #2163 from KhronosGroup/fix-2162
...
GLSL: Fix bug with mixed precision on PHI variables.
2023-06-07 16:27:50 +02:00
Hans-Kristian Arntzen
5b322555d6
GLSL: Fix bug with mixed precision on PHI variables.
2023-06-07 15:31:29 +02:00
Hans-Kristian Arntzen
74702f5077
Merge pull request #2161 from KhronosGroup/fix-2151
...
Fix more edge cases in bool <-> short remapping
2023-06-07 15:30:10 +02:00
Hans-Kristian Arntzen
17d00edd97
C-api: Fix warning.
2023-06-07 13:58:54 +02:00
Hans-Kristian Arntzen
13e6981cc8
MSL: Consider changed array types for array-of-constant-bool in struct.
2023-06-07 13:54:50 +02:00
Hans-Kristian Arntzen
8735108609
MSL: Consider bool-short remapping for constant expressions as well.
2023-06-07 12:33:37 +02:00
Hans-Kristian Arntzen
74bae9a06c
Minor cleanup in constant_expression().
2023-06-07 12:30:57 +02:00
Hans-Kristian Arntzen
55750be788
Small cleanup after merge.
2023-06-06 15:25:22 +02:00
Hans-Kristian Arntzen
28762d76fb
spirv-cross-c: Bump minor version.
2023-06-06 15:22:27 +02:00
Hans-Kristian Arntzen
a20fc9ac58
Merge pull request #2159 from qyot27/static_pc
...
Static pkg-config support
2023-06-06 15:21:55 +02:00
Hans-Kristian Arntzen
2d4587cd2b
Merge pull request #2155 from tklajnscek/tk_glsl_get_extensions_api
...
Added get_required_extensions() API to GLSL compiler
2023-06-06 15:21:42 +02:00
Hans-Kristian Arntzen
b0b2fd8d90
MSL: Add test for bool-in-struct edge cases.
2023-06-06 15:17:23 +02:00