• Alexis Hetu's avatar
    Viz unittest YUV fix · af825d04
    Alexis Hetu authored
    When an OpenGL implementation exposes the GL_OES_texture_half_float_linear
    extension, the YUV format can be set to L16F. Since OSMesa doesn't
    expose this extension, the test currently doesn't fail in this case, but
    it fails when ran with SwiftShader. This fixes the issue.
    
    Bug: chromium:848035
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
    Change-Id: I076ee00ba187f6d89cc51de41f15f0872d4d728c
    Reviewed-on: https://chromium-review.googlesource.com/1080030Reviewed-by: default avatardanakj <danakj@chromium.org>
    Reviewed-by: default avatarFredrik Hubinette <hubbe@chromium.org>
    Commit-Queue: Alexis Hétu <sugoi@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#563060}
    af825d04
renderer_pixeltest.cc 172 KB