#spirv — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #spirv, aggregated by home.social.
-
What I'd like to know is, is there a pre-existing tool to turn THIS into something more like THAT?
Not necessarily with the names, but just without the superfluous variables everywhere.
I did it by hand here, and this is one of the shorter, simpler shaders in ACNH. The interesting ones are much bigger.
-
What I'd like to know is, is there a pre-existing tool to turn THIS into something more like THAT?
Not necessarily with the names, but just without the superfluous variables everywhere.
I did it by hand here, and this is one of the shorter, simpler shaders in ACNH. The interesting ones are much bigger.
-
OpenCL 3.1 is here.
The Khronos Group has moved several capabilities into the core spec, including SPIR-V kernels, subgroups, and integer dot products.
Also includes improvements to the memory model and synchronization, plus better alignment with Vulkan via device UUID queries.
Implementations are already underway across major vendors and open source projects.
- Full Blog: https://www.khronos.org/blog/opencl-3.1-is-here?utm_medium=social&utm_source=mastodon&utm_campaign=OpenCL_3.1_is_here&utm_content=blog
- OpenCL specification GitHub
- Khronos Discord -
OpenCL 3.1 is here.
The Khronos Group has moved several capabilities into the core spec, including SPIR-V kernels, subgroups, and integer dot products.
Also includes improvements to the memory model and synchronization, plus better alignment with Vulkan via device UUID queries.
Implementations are already underway across major vendors and open source projects.
- Full Blog: https://www.khronos.org/blog/opencl-3.1-is-here?utm_medium=social&utm_source=mastodon&utm_campaign=OpenCL_3.1_is_here&utm_content=blog
- OpenCL specification GitHub
- Khronos Discord -
The OpenCL Working Group has published the first in a series of cooperative matrix extensions — and your feedback can help shape them before finalization.
cl_khr_cooperative_matrix brings cooperative matrix load, store, and multiply-add to OpenCL, developed with Arm, Intel, and Qualcomm. A companion OpenCL C language extension is also in RFC.
Review and comment:
🔗 Spec draft: https://github.com/KhronosGroup/OpenCL-Docs/pull/1533
🔗 Clang RFC: https://discourse.llvm.org/t/rfc-clang-frontend-changes-for-opencl-c-cooperative-matrix-extension/90148
🔗 Full blog: https://www.khronos.org/blog/opencl-cooperative-matrix-extensions-are-here
#OpenCL #SPIRV -
The OpenCL Working Group has published the first in a series of cooperative matrix extensions — and your feedback can help shape them before finalization.
cl_khr_cooperative_matrix brings cooperative matrix load, store, and multiply-add to OpenCL, developed with Arm, Intel, and Qualcomm. A companion OpenCL C language extension is also in RFC.
Review and comment:
🔗 Spec draft: https://github.com/KhronosGroup/OpenCL-Docs/pull/1533
🔗 Clang RFC: https://discourse.llvm.org/t/rfc-clang-frontend-changes-for-opencl-c-cooperative-matrix-extension/90148
🔗 Full blog: https://www.khronos.org/blog/opencl-cooperative-matrix-extensions-are-here
#OpenCL #SPIRV -
The IWOCL 2026 program is live!
The 14th International Workshop on OpenCL and SYCL is coming to Heilbronn, Germany this May 6–8, and the full conference program has just been published at iwocl.org.
This year's lineup is packed. Whether you're working on heterogeneous HPC, GPU portability, or the future of open compute standards, this is the event for you.
Explore the program at https://www.iwocl.org/iwocl-2026/conference-program/
#SYCL #OpenCL #Khronos #SPIRV #IWOCL2026 #HighPerformanceComputing #HPC #GPU -
The IWOCL 2026 program is live!
The 14th International Workshop on OpenCL and SYCL is coming to Heilbronn, Germany this May 6–8, and the full conference program has just been published at iwocl.org.
This year's lineup is packed. Whether you're working on heterogeneous HPC, GPU portability, or the future of open compute standards, this is the event for you.
Explore the program at https://www.iwocl.org/iwocl-2026/conference-program/
#SYCL #OpenCL #Khronos #SPIRV #IWOCL2026 #HighPerformanceComputing #HPC #GPU -
The SPIR-V Working Group has issued a Request for Comment on a new extension proposal called SPV_KHR_poison_freeze. This extension proposes a method to provide tighter undefined values and require that instructions performing simple data transformations do not result in undefined behavior in common cases.
Learn more and give us your feedback!
https://github.com/KhronosGroup/SPIRV-Registry/pull/391
#SPIRV #programming #developers -
The SPIR-V Working Group has issued a Request for Comment on a new extension proposal called SPV_KHR_poison_freeze. This extension proposes a method to provide tighter undefined values and require that instructions performing simple data transformations do not result in undefined behavior in common cases.
Learn more and give us your feedback!
https://github.com/KhronosGroup/SPIRV-Registry/pull/391
#SPIRV #programming #developers -
SPIR-V 1.6 Revision 7 has been released.
See change log: https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#_changes_from_version_1_6_revision_6?utm_medium=social&utm_source=mastodon&utm_campaign=SPIR-V_1.6.7_Release&utm_content=blog
#SPIRV #vulkan #GPUProgramming #GPU #GraphicsProgramming -
SPIR-V 1.6 Revision 7 has been released.
See change log: https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#_changes_from_version_1_6_revision_6?utm_medium=social&utm_source=mastodon&utm_campaign=SPIR-V_1.6.7_Release&utm_content=blog
#SPIRV #vulkan #GPUProgramming #GPU #GraphicsProgramming -
We're excited to announce that the slides and videos from the inaugural Shading Languages Symposium are now available! Catch up on all the proceedings and join us next year!
https://www.khronos.org/events/shading-languages-symposium-2026
#shading #shaders #programming #Slang #GLSL #HLSL #SPIRV #glslang #WESL #WGSL #OSL #Gigi #vkDuck -
We're excited to announce that the slides and videos from the inaugural Shading Languages Symposium are now available! Catch up on all the proceedings and join us next year!
https://www.khronos.org/events/shading-languages-symposium-2026
#shading #shaders #programming #Slang #GLSL #HLSL #SPIRV #glslang #WESL #WGSL #OSL #Gigi #vkDuck -
We are very excited for next week's Shading Language Symposium in San Diego!
This event will bring together graphics and computer shader programmers, researchers and technical artists with shading language implementers to explore the landscape of shading languages, their future development, and the role how new techniques such as neural graphics will play in shaping the future of real-time rendering.
Learn more: https://www.khronos.org/events/shading-languages-symposium-2026
#glsl #hlsl #osl #slang #spirv #wgsl -
We are very excited for next week's Shading Language Symposium in San Diego!
This event will bring together graphics and computer shader programmers, researchers and technical artists with shading language implementers to explore the landscape of shading languages, their future development, and the role how new techniques such as neural graphics will play in shaping the future of real-time rendering.
Learn more: https://www.khronos.org/events/shading-languages-symposium-2026
#glsl #hlsl #osl #slang #spirv #wgsl -
Photonic chips are real, not a dream. A startup in Europe is already making prototype GPU’s with them. Comes with a SPIR-V compiler.
-
Photonic chips are real, not a dream. A startup in Europe is already making prototype GPU’s with them. Comes with a SPIR-V compiler.
-
The Stride Shader System is currently undergoing a complete rewrite.
It will parse SDSL shaders to a superset of the SPIR-V intermediate language, specific to Stride.
For more details on what this means and a way to support this significant development, please see:
https://opencollective.com/stride3d/projects/shader-system-rewrite
-
The Stride Shader System is currently undergoing a complete rewrite.
It will parse SDSL shaders to a superset of the SPIR-V intermediate language, specific to Stride.
For more details on what this means and a way to support this significant development, please see:
https://opencollective.com/stride3d/projects/shader-system-rewrite
-
Khronos announced the inaugural Shading Languages Symposium, that will take place on February 12-13, 2026, in San Diego, California. The symposium will bring together developers, implementors, researchers, and technical artists to explore the current state and future development of #shading languages and real-time #rendering technologies. The open call for submissions for the symposium closes on October 12, 2025.
-
Khronos announced the inaugural Shading Languages Symposium, that will take place on February 12-13, 2026, in San Diego, California. The symposium will bring together developers, implementors, researchers, and technical artists to explore the current state and future development of #shading languages and real-time #rendering technologies. The open call for submissions for the symposium closes on October 12, 2025.
-
We're probably on the same page about formal methods.
I wanted to point out a cool example I helped with: formalizing the structured control flow rules for SPIR-V.
https://dl.acm.org/doi/10.1145/3571253
This was a really nice blend of theory and practice to nail the details on a gnarly bit of the GPU intermediate language we know and love. And in the end the (prose) rules are easier to understand too.
-
We're probably on the same page about formal methods.
I wanted to point out a cool example I helped with: formalizing the structured control flow rules for SPIR-V.
https://dl.acm.org/doi/10.1145/3571253
This was a really nice blend of theory and practice to nail the details on a gnarly bit of the GPU intermediate language we know and love. And in the end the (prose) rules are easier to understand too.
-
There are now 48 registered SPIR-V generator tools.
Woohoo.
https://github.com/KhronosGroup/SPIRV-Headers/blob/main/include/spirv/spir-v.xml#L100
-
There are now 48 registered SPIR-V generator tools.
Woohoo.
https://github.com/KhronosGroup/SPIRV-Headers/blob/main/include/spirv/spir-v.xml#L100
-
I'm getting the material ready for my upcoming #GPGPU course that starts on March. Even though I most probably won't get to it,I also checked my trivial #SYCL programs. Apparently the 2025.0 version of the #Intel #OneAPI #DPCPP runtime doesn't like any #OpenCL platform except Intel's own (I have two other platforms that support #SPIRV, so why aren't they showing up? From the documentation I can find online this should be sufficient, but apparently it's not …)
-
I'm getting the material ready for my upcoming #GPGPU course that starts on March. Even though I most probably won't get to it,I also checked my trivial #SYCL programs. Apparently the 2025.0 version of the #Intel #OneAPI #DPCPP runtime doesn't like any #OpenCL platform except Intel's own (I have two other platforms that support #SPIRV, so why aren't they showing up? From the documentation I can find online this should be sufficient, but apparently it's not …)
-
Vulkan 1.4:
Glslang, Shaderc, and SPIRV-Tools updates have landed to be able to target Vulkan 1.4.
No major changes to Vulkan SPIR-V, so this is mostly about being able to specify Vulkan 1.4 in options lists.These will be rolled into the next Vulkan SDK.
-
Vulkan 1.4:
Glslang, Shaderc, and SPIRV-Tools updates have landed to be able to target Vulkan 1.4.
No major changes to Vulkan SPIR-V, so this is mostly about being able to specify Vulkan 1.4 in options lists.These will be rolled into the next Vulkan SDK.
-
Supongo que como tienen dinero a espuertas pueden seguir intentándolo.
Los drivers de las #Intel Arc utilizan #DXVK como implementación de #Direct3D en los casos que sea más rápido que la emulación de #D3D12 propia. https://www.gamingonlinux.com/2022/12/intel-using-dxvk-part-of-steam-proton-for-their-windows-arc-gpu-dx-9-drivers/
#NVIDIA también utiliza DXVK en #RTX Remix. https://www.gamingonlinux.com/2022/09/nvidia-announces-ada-lovelace-their-3rd-generation-rtx-dlss-3-and-portal-rtx/
Hace no mucho #Microsoft anunció que Direct3D pasaría a utilizar #SPIRV como lenguaje de shaders intermedio. Es decir, el #HLSL se compilará a SPIR-V en vez de #DXIL. Ya no hara falta hacer budú en DXVK para poder utilizar los shaders de Direct3D con drivers #Vulkan. (https://devblogs.microsoft.com/directx/directx-adopting-spir-v/). Mientras no se marquen un embrace, extend, extinguish…
-
Khronos' OpenCL Working Group has issued a Request for Proposal (#RFP) for OpenCL LLVM SPIR-V Backend. The goal of this project is to address and integrate specific functionalities that are currently available in the translator project but missing from the backend. All bids are due December 6, 2024.
Learn more: https://www.khronos.org/rfp/khronos-opencl-llvm-spir-v-backend
#LLVM #SPIRV #SPIR -
Khronos' OpenCL Working Group has issued a Request for Proposal (#RFP) for OpenCL LLVM SPIR-V Backend. The goal of this project is to address and integrate specific functionalities that are currently available in the translator project but missing from the backend. All bids are due December 6, 2024.
Learn more: https://www.khronos.org/rfp/khronos-opencl-llvm-spir-v-backend
#LLVM #SPIRV #SPIR -
The rust-gpu project now has two more maintainers. Happy to see the project gaining speed!
I'm using rust-gpu for most my Vulkan experiments these days. It's one of the enablers of my SDF-compiler toolchain. It lets you define linking points, which in turn allows me to link my SDF generated SPIR-V code into rust-gpu generated SPIR-V modules.
-
The rust-gpu project now has two more maintainers. Happy to see the project gaining speed!
I'm using rust-gpu for most my Vulkan experiments these days. It's one of the enablers of my SDF-compiler toolchain. It lets you define linking points, which in turn allows me to link my SDF generated SPIR-V code into rust-gpu generated SPIR-V modules.
-
Finally got #HLSL -> #spirv -> running in #bevy! Just a simple compute shader for slope/normal/ocean detection at the moment. The spirv inpsector at https://www.khronos.org/spir/visualizer/ was a life saver! also, this is the first time ive use the build.rs in #rust suuuper handy for automatically recompiling the hlsl. Feels like bevy's Dx12 backend might need some love since i had to switch back to vulcan but so happy to have actually got it running.
-
I think people get tied up in knots when trying to parse SPIR-V with structured control flow.
You gotta do it in reverse structured post-order.
Once you lay out the basic blocks in that order, the nested control constructs map to *intervals* over that list. (:galaxy brain:)
For details, see Tint's SPIR-V to WGSL translator.
-
I think people get tied up in knots when trying to parse SPIR-V with structured control flow.
You gotta do it in reverse structured post-order.
Once you lay out the basic blocks in that order, the nested control constructs map to *intervals* over that list. (:galaxy brain:)
For details, see Tint's SPIR-V to WGSL translator.
-
Does anyone know whether #SpirV supports closures?
By the spec, it seems like I can define a function inside a function.
Can the outer function return a pointer to the inner function?And since we're here, is there a dedicated forum/community/chat where I can ask this kinds of questions?
The Khronos SPIR forum seems dead. =| -
mkdir src/Targets/SpirVIt's happening.... _^
I'm finally starting the work to compile #Squarepants to #SpirV...
I never thought my language would get to this point! =D =D =D -
I know SPIR-V is not meant for human readability and all that, but damn. Is there not any way that the variables were named anything closer to useful than %13525? I understand that it's not a one-to-one match with my glsl variables, but like... This feels like it's actively trying to obfuscate the code 🥲
Maybe there's some glslang option I don't know about that tries to make them a bit clearer?
-
The SPIR Working Group developed 2 new SPIR-V extensions to provide shader authors with more guarantees about the execution model of shaders: SPV_KHR_maximal_reconvergence and VK_KHR_shader_quad_control.
Learn more: https://www.khronos.org/blog/khronos-releases-maximal-reconvergence-and-quad-control-extensions-for-vulkan-and-spir-v
#SPIRV #Vulkan #Shaders -
My small SDF language is working now!
It currently compiles this code in ~5ms into a new SPIR-V module that is linked into the sphere-tracing shader.
The `offset` parameter is wired to a push constant. So you can move the sphere/torus in this example without having to recompile the SDF.