Welcome, Guest.
Username: Password: Remember me

TOPIC: Add support half type value

Add support half type value 1 month 2 weeks ago #1

Hello! It would be great if reshade have support half/lowp type for float, int and vectors. In most cases it enough for Post Processing shaders.
The administrator has disabled public write access.

Add support half type value 1 month 2 weeks ago #2

It's mostly mapped to 32 bit anyways, nowadays only mobile supports it.
The administrator has disabled public write access.

Add support half type value 1 month 2 weeks ago #3

HLSL has no concept of 16-bit floats anymore (except for an extension): docs.microsoft.com/en-us/windows/desktop...graphics-hlsl-scalar ("This data type is provided only for language compatibility. Direct3D 10 shader targets map all half data types to float data types.").
GLSL has, but those are mapped to 32-bit on desktop as well, like Marty said.
Cheers, crosire =)
Last Edit: 1 month 2 weeks ago by crosire.
The administrator has disabled public write access.

Add support half type value 1 month 1 week ago #4

Support for half/lowp precision is coming back to PC hardware.

See github.com/Microsoft/DirectXShaderCompil.../16-Bit-Scalar-Types

But most hardware still map halfs to float. It is going to take a while before using anything other than single precision in Reshade will make any sense.

On the latest hardware you could technically use min16float and min16int (and variants), but Reshade would have to support them first and check to see if the user was on Win7 or earlier as min16float support was first introduced with Win8.

I just doubt you are going to see any real improvement in performance ATM.
Last Edit: 1 month 1 week ago by CeeJay.dk.
The administrator has disabled public write access.
The following user(s) said Thank You: Wicked Sick