Advertisement

How to compile hlsl header file

Started by January 21, 2022 05:02 PM
0 comments, last by andrey4 3 years ago

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

This topic is closed to new replies.

Advertisement