Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
mesa
mesa
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,370
    • Issues 2,370
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 659
    • Merge Requests 659
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Mesa
  • mesamesa
  • Issues
  • #4034

Closed
Open
Opened Dec 31, 2020 by Rodrigo Locatti@ReinUsesLisp

Texture views on blits ignore formats

Calling BlitFramebuffer (and DSA friends) ignores the attached texture views format and seems to use the underlying texture format. Here is a WGL apitrace reproducing the issue and a Windows executable. Here's the source for anyone interested, I can write a glx equivalent if it's needed.

We managed to reproduce the issue with radeonsi, llvmpipe, and zink-wip. I haven't tried it on other proprietary drivers aside from Nvidia, mostly because Intel and AMD proprietary drivers always get texture view formats wrong.

This repro case tries to be a reduced version of https://github.com/yuzu-emu/yuzu/issues/5145

The expected output is something like:

image

the current output is:

image

Thanks to toastUnlimited for helping me test this on mesa.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: mesa/mesa#4034