Remove all of our workarounds for Qualcomm devices we don't support anymore.

This commit is contained in:
Ryan Houdek
2015-09-04 23:45:35 -05:00
parent 9be01a9044
commit 9618738278
9 changed files with 38 additions and 314 deletions

View File

@ -253,10 +253,7 @@ static void GenerateLightingShader(T& object, LightingUidData& uid_data, int com
}
}
object.Write("lacc = clamp(lacc, 0, 255);\n");
if (DriverDetails::HasBug(DriverDetails::BUG_BROKENIVECSHIFTS))
object.Write("%s%d = float4(irshift((mat * (lacc + irshift(lacc, 7))), 8)) / 255.0;\n", dest, j);
else
object.Write("%s%d = float4((mat * (lacc + (lacc >> 7))) >> 8) / 255.0;\n", dest, j);
object.Write("%s%d = float4((mat * (lacc + (lacc >> 7))) >> 8) / 255.0;\n", dest, j);
object.Write("}\n");
}
}