[Webkit-unassigned] [Bug 118742] New: Missing break in WebGLRenderingContext::validateCompressedTexFuncData()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 16 11:22:05 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=118742

           Summary: Missing break in
                    WebGLRenderingContext::validateCompressedTexFuncData()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: psolanki at apple.com


WebGLRenderingContext::validateCompressedTexFuncData() has this code

    case Extensions3D::COMPRESSED_ATC_RGBA_EXPLICIT_ALPHA_AMD:
    case Extensions3D::COMPRESSED_ATC_RGBA_INTERPOLATED_ALPHA_AMD:
        {
            bytesRequired = floor(static_cast<double>((width + 3) / 4)) * floor(static_cast<double>((height + 3) / 4)) * 16;
        }
    case Extensions3D::COMPRESSED_RGB_PVRTC_4BPPV1_IMG:
    case Extensions3D::COMPRESSED_RGBA_PVRTC_4BPPV1_IMG:
        {
            bytesRequired = max(width, 8) * max(height, 8) / 2;
        }
        break;


It's missing a break for COMPRESSED_ATC_RGBA_EXPLICIT_ALPHA_AMD and COMPRESSED_ATC_RGBA_INTERPOLATED_ALPHA_AMD case.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list