Quantcast
Channel: Questions in topic: "hlsl"
Viewing all articles
Browse latest Browse all 206

Visual Studio Community on Mac will not recognize HLSL

$
0
0
I use Visual Community on Mac with Unity, and what to edit HLSL shaders. I find that I get some syntax colour highlighting, if I use ".compute" or ".cginc" (but not ".hlsl") file type suffixes, but no support beyond that. As I'm still learning HLSL syntax, it's easy to make minor mistakes. I suppose I am spoiled by modern syntax highlighting and preemptive error checking. Without it, finding errors in my shader code is laborious.

Is there a way to get better support for detecting errors before building? What do Mac users do to make it easier to write and debug compute shaders?

A second, equally annoying problem is that files with ".compute" and ".hlsl" (inside "Assets/Shaders") do not even show up in the Visual Studio Community project browser. I have to open them from Unity.

Viewing all articles
Browse latest Browse all 206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>