libretro / common-shaders

Collection of commonly used Cg shaders. These shaders are usable by either HLSL and/or Cg runtime compilers. The cg2glsl script will translate most of these into GLSL shaders.
http://www.libretro.com
1.03k stars 250 forks source link

Fix compat_macros HLSL_4_1 bug. #119

Closed VelocityRa closed 6 years ago

VelocityRa commented 6 years ago

The COMPAT_Gather definition could never run due to the conditions on the #if.

hizzlekizzle commented 6 years ago

I'm actually just going to take that one out because none of our shaders use it anyway. It was just in the chunk I grabbed from SMAA. I'll probably shave off a few more unused ones before it's all said and done.