Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualCryZe

Posted 17 August 2012 - 05:20 AM

Why are you manually converting the results anyway? If you're rendering to a R16G16B16_FLOAT resource, the Output Merger converts the values for you.

Also your original code converts the single precision float to a half precision float and reinterprets the bits as a single precision float. Since the most significant word is always 0, the resulting single precision floating point value is always 0.

#2CryZe

Posted 17 August 2012 - 05:16 AM

Why are you manually converting the results anyway? If you're rendering to a R16G16B16_FLOAT resource, the Output Merger converts the values for you.

#1CryZe

Posted 17 August 2012 - 05:14 AM

Why do you do the conversion anyway? If you're rendering to a R16G16B16_FLOAT resource, the Output Merger converts the values for you.

PARTNERS