Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Dec 07, 2018 at 06:10 PM by bgulanowski for the following reason:

The requested feature is not currently supported.

avatar image
1
Question by bgulanowski · Nov 20, 2018 at 04:46 PM · visual studiomaccompute shaderhlsl

Visual Studio Community on Mac will not recognize HLSL

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.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image dan_wipf · Nov 20, 2018 at 05:58 PM 0
Share

yeah, i know. there’s no autocomplete. have you looked for extensions?

avatar image bgulanowski dan_wipf · Nov 20, 2018 at 06:37 PM 0
Share

Yes. There is nothing that looks applicable in the built-in Extensions browser. And I tried various web searches. Web foo failed. Is there documentation on how to install them? I found a $$anonymous$$S docs page on how to make them, but I'm not up for that. I saw a rumour somewhere that Text$$anonymous$$ate plugins might be compatible, but maybe I was drea$$anonymous$$g. Not sure if that would do anything more than colour highlighting. Even better highlighting would probably help.

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

96 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

remove empty values from computebuffer in computeshaders 0 Answers

Persistent Data in Compute Shaders. 0 Answers

How to make grass on a mesh on a m1 mac? 0 Answers

fragment shader different color for every vertex? 1 Answer

How do int textures work in ComputeShaders? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges