HLSL fix