Add a workaround for a PowerVR glsl compiler bug

It seems it doesn't like negating arguments for bitops, so suff like
"var <<= (-othervar);"
fails to compile
This commit is contained in:
Jonathan Hamilton
2017-05-03 19:22:26 -07:00
parent d9d8ed6497
commit 35caf48d7d
3 changed files with 48 additions and 10 deletions

View File

@ -94,6 +94,8 @@ static BugInfo m_known_bugs[] = {
BUG_BROKEN_DUAL_SOURCE_BLENDING, -1.0, -1.0, true},
{API_OPENGL, OS_OSX, VENDOR_INTEL, DRIVER_INTEL, Family::UNKNOWN,
BUG_BROKEN_DUAL_SOURCE_BLENDING, -1.0, -1.0, true},
{API_OPENGL, OS_ALL, VENDOR_IMGTEC, DRIVER_IMGTEC, Family::UNKNOWN,
BUG_BROKEN_BITWISE_OP_NEGATION, -1.0, -1.0, true},
{API_VULKAN, OS_ALL, VENDOR_ATI, DRIVER_ATI, Family::UNKNOWN, BUG_PRIMITIVE_RESTART, -1.0, -1.0,
true},
};