Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • libANGLE
  • Texture.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Allow LINEAR filtering on OES_depth_texture formats. · 32dd62b8
    Jamie Madill authored Sep 23, 2016
    The ES3 spec and this extension lead to some awkward interactions. The
    extension doesn't mention allowed filtering modes, so be default it
    allows both linear and nearest. ES3 however, very clearly restricts
    any depth texture (any texture with effective internal format which
    has depth or stencil bits) to only use nearest filtering. This then
    breaks compatibility with the legazy unsized formats.
    
    Choose to be slightly non-conformant here, and allow linear filtering
    for the older unsized formats. Although this could lead to problems
    down the line, it is consistent with existing ES drivers in practice.
    
    Other future options might be to override the behaviour of the filter
    to use nearest when using WebGL validation compatibility.
    
    BUG=chromium:649200
    
    Change-Id: I4ee7608dd04d1fd238385aefee32c8c9c1e80ca0
    Reviewed-on: https://chromium-review.googlesource.com/388759Reviewed-by: 's avatarZhenyao Mo <zmo@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    32dd62b8
Texture.cpp 31.2 KB
EditWeb IDE
×

Replace Texture.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.