Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 support for .fx files (hlsl)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

galopin
New Member

4 Posts

Posted - Jul 26 2006 :  10:24:16 AM  Show Profile  Reply with Quote
it would be great to enable visual assist auto completion and syntax highlighting on hlsl files (gpu shaders sources files).

they are very similar to c++. differences are a lot more of keywrd, like float4 normalize, ... and more functions parameters modifier like uniform, in, out, inout and semantic ( : COLOR0 ).

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jul 29 2006 :  10:18:29 AM  Show Profile  Reply with Quote
a code change in VA to support this is unlikely, at least in the sort term. however you should be able to get fairly close by first telling VA to parse these file extensions, see point 5 here:

http://www.wholetomato.com/support/faq.html

and then add the relevant #define entries to VA's stdafx.h, as discussed here:

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=4999

note this assumes that you are running the latest beta, since this technique will not work in VA 1446

zen is the art of being at one with the two'ness
Go to Top of Page

King3D
Senior Member

29 Posts

Posted - Aug 09 2006 :  4:41:05 PM  Show Profile  Reply with Quote
I've added cgfx/hlsl keywords into my dev environment, but it would be awesome if VAX supported it natively.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000