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
How to compile hlsl header file
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement