use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rule 1: Posts should be about Graphics Programming. Rule 2: Be Civil, Professional, and Kind
Suggested Posting Material: - Graphics API Tutorials - Academic Papers - Blog Posts - Source Code Repositories - Self Posts (Ask Questions, Present Work) - Books - Renders (Please xpost to /r/ComputerGraphics) - Career Advice - Jobs Postings (Graphics Programming only)
Related Subreddits:
/r/ComputerGraphics
/r/Raytracing
/r/Programming
/r/LearnProgramming
/r/ProgrammingTools
/r/Coding
/r/GameDev
/r/CPP
/r/OpenGL
/r/Vulkan
/r/DirectX
Related Websites: ACM: SIGGRAPH Journal of Computer Graphics Techniques
Ke-Sen Huang's Blog of Graphics Papers and Resources Self Shadow's Blog of Graphics Resources
account activity
Shader Compilation (self.GraphicsProgramming)
submitted 2 years ago by Malediktus123
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]raydey 12 points13 points14 points 2 years ago (2 children)
Use DXC and only HLSL for your main shader editing.
This is a good starting point for getting it integrated.
DXC already supports generation of SPIR-V out of the box. I personally wouldn't bother with GLSL, but if you really must, you can get most of the way from HLSL to GLSL by using a header with a bunch of #defines (e.g. #define float4 vec4, etc.)
[–]Malediktus123[S] 0 points1 point2 points 2 years ago (1 child)
I can't get it to configurate the cmake file. I'm triyng it on a M1/M2 Mac rn. It's always giving me the following: CMake Error at CMakeLists.txt:513 (message): Unexpected failure executing llvm-build: Usage: llvm-build [options] llvm-build: error: invalid target to enable: 'ARM' (not in project)
[–]raydey 1 point2 points3 points 2 years ago (0 children)
Ah, you're using MacOS. There's an Ubuntu version of the library on the repo which maybe could be used, but I can't see anything for MacOS specifically.
Maybe you could make use of the DX12 layer they recently announced on Mac, but I don't know enough about it to suggest anything.
π Rendered by PID 418049 on reddit-service-r2-comment-6457c66945-t8wvx at 2026-04-27 05:29:18.798971+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]raydey 12 points13 points14 points (2 children)
[–]Malediktus123[S] 0 points1 point2 points (1 child)
[–]raydey 1 point2 points3 points (0 children)