Differential D39779 Diff 121006 www/iridium/files/patch-third__party_angle_src_libANGLE_formatutils.cpp
Changeset View
Changeset View
Standalone View
Standalone View
www/iridium/files/patch-third__party_angle_src_libANGLE_formatutils.cpp
--- third_party/angle/src/libANGLE/formatutils.cpp.orig 2023-04-22 17:45:15 UTC | --- third_party/angle/src/libANGLE/formatutils.cpp.orig 2023-04-24 20:55:01 UTC | ||||
+++ third_party/angle/src/libANGLE/formatutils.cpp | +++ third_party/angle/src/libANGLE/formatutils.cpp | ||||
@@ -1471,7 +1471,7 @@ static InternalFormatInfoMap BuildInternalFormatInfoMa | @@ -1486,7 +1486,7 @@ static InternalFormatInfoMap BuildInternalFormatInfoMa | ||||
AddYUVFormat(&map, GL_G8_B8R8_2PLANE_420_UNORM_ANGLE, true, 8, 8, 8, 0, 0, GL_G8_B8R8_2PLANE_420_UNORM_ANGLE, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, NeverSupported, NeverSupported); | AddYUVFormat(&map, GL_G8_B8R8_2PLANE_420_UNORM_ANGLE, true, 8, 8, 8, 0, 0, GL_G8_B8R8_2PLANE_420_UNORM_ANGLE, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, NeverSupported, NeverSupported); | ||||
AddYUVFormat(&map, GL_G8_B8_R8_3PLANE_420_UNORM_ANGLE, true, 8, 8, 8, 0, 0, GL_G8_B8_R8_3PLANE_420_UNORM_ANGLE, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, NeverSupported, NeverSupported); | AddYUVFormat(&map, GL_G8_B8_R8_3PLANE_420_UNORM_ANGLE, true, 8, 8, 8, 0, 0, GL_G8_B8_R8_3PLANE_420_UNORM_ANGLE, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, RequireExt<&Extensions::yuvInternalFormatANGLE>, NeverSupported, NeverSupported); | ||||
-#if defined(ANGLE_PLATFORM_LINUX) | -#if defined(ANGLE_PLATFORM_LINUX) | ||||
+#if defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD) | +#if defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_BSD) | ||||
// From GL_OES_required_internalformat | // From GL_OES_required_internalformat | ||||
// The |shared| bit shouldn't be 2. But given this hits assertion when bits | // The |shared| bit shouldn't be 2. But given this hits assertion when bits | ||||
// are checked, it's fine to have this bit set as 2 as a workaround. | // are checked, it's fine to have this bit set as 2 as a workaround. |