I try to compile hlsl file like header file in order to get object code which I can use for creating Input Layout in Directx 11 but I don't understand how to run fxc with right paramaters. I try this fxc /Fh "path_to_file\vertices.cso" "path_to_file\vertices.hlsl"
but get error X3501: 'main': entrypoint not found
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
How to compile hlsl header file
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement