Skip to content

-O3 flag not working in cg #152

Open
@Fewnity

Description

@Fewnity

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions