Skip to content

HLSL: Halfs are not recognized as a type #492

@redorav

Description

@redorav

The only thing that needs to happen really is that they are recognized and promoted to float.

Per https://msdn.microsoft.com/en-us/library/windows/desktop/bb509646(v=vs.85).aspx

"This data type is provided only for language compatibility. Direct3D 10 shader targets map all half data types to float data types."

However many shaders use half because they are also compiled on other platforms.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions