It's not a bug in cgcomp but I noticed that the ### -O3 flag send by cgcomp changes nothing in the final shader code.
When I compile a shader with cgc -profile fp40 -O3 frag.txt or with cgc -profile fp40 -O1 the result is the same.
@shagkur Do you remember back in the days if the -O3 flag has an effect on nvidia cg? Maybe a bug in the latest version of cg? Thanks.
It's not a bug in cgcomp but I noticed that the ### -O3 flag send by cgcomp changes nothing in the final shader code.
When I compile a shader with
cgc -profile fp40 -O3 frag.txtor withcgc -profile fp40 -O1the result is the same.@shagkur Do you remember back in the days if the -O3 flag has an effect on nvidia cg? Maybe a bug in the latest version of cg? Thanks.