cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

karx11erx
Journeyman III

HLSL file not found

CAL backend doesn't find HLSL file from Brook+ compilation

I have added Brook+ compilation as custom build step in Visual Studio 2008. Brook+ compiles my test file, but the CAL backend doesn't find it. Brook+ call looks like this:

"$(BROOKROOT)sdk\bin\brcc_d.exe" -pp -o "$(INPUTDIR)$(INPUTNAME)_br" "$(INPUTPATH)"

There are no HLSL files in $(INPUTPATH).

I cannot identify the problem.

 

Edit: I can. The files get deleted after the CAL backend compiler has detected errors.

0 Likes
3 Replies
gaurav_garg
Adept I

Why do you need HLSL file? Brcc dumps il kernel in _gpu.h file as a string.

0 Likes

You can use -k flag to keep hlsl files

0 Likes

I wanted to take a look at it because the compilation fails in the CAL compiler after having been successfully finished by Brook+.

0 Likes