[Mesa-dev] [Bug 110253] glBlitFramebuffer fails on MSAA fbo source.

2019-09-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110253

GitLab Migration User  changed:

   What|Removed |Added

 Resolution|--- |MOVED
 Status|NEW |RESOLVED

--- Comment #4 from GitLab Migration User  ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/202.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110253] glBlitFramebuffer fails on MSAA fbo source.

2019-04-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110253

--- Comment #3 from Bruce Cherniak  ---
The patch is OpenSWR specific, however, it is in response to a gallium API
change:
"gallium: add pipe_resource::nr_storage_samples, and set it same as nr_samples"

https://cgit.freedesktop.org/mesa/mesa/commit/?id=8632626c81a09315276d7defa63092247d7fd308

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110253] glBlitFramebuffer fails on MSAA fbo source.

2019-04-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110253

--- Comment #2 from Gregory Popovitch  ---
Could this possibly affect the AMD Radeon Pro 19.Q1.1 drivers?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110253] glBlitFramebuffer fails on MSAA fbo source.

2019-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110253

--- Comment #1 from Bruce Cherniak  ---
Thank you for reporting this bug and a possible solution.  We will investigate.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110253] glBlitFramebuffer fails on MSAA fbo source.

2019-03-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110253

Bug ID: 110253
   Summary: glBlitFramebuffer fails on MSAA fbo source.
   Product: Mesa
   Version: 19.0
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/Gallium/swr
  Assignee: mesa-dev@lists.freedesktop.org
  Reporter: wanghaipen...@baidu.com
QA Contact: mesa-dev@lists.freedesktop.org

https://github.com/mesa3d/mesa/blob/master/src/gallium/drivers/swr/swr_screen.cpp#L908
https://github.com/mesa3d/mesa/blob/master/src/gallium/drivers/swr/swr_screen.cpp#L105

when using MSAA fbo as read source, and OSMesa framebuffer as target,
glBlitFramebuffer fails。

swr_blit: color resolve : 8 -> 0
swr: blit unsupported r8g8b8a8_unorm -> r8g8b8a8_unorm

I think it may be solved by setting nr_storage_samples to 0 in
src/gallium/drivers/swr/swr_screen.cpp swr_create_resolve_resource

  /* Create a single-sample copy of the resource.  Copy the original
   * resource parameters and set flag to prevent recursion when re-calling
   * resource_create */
  struct pipe_resource alt_template = msaa_res->base;
  alt_template.nr_samples = 0;
  alt_template.nr_storage_samples = 0;
  alt_template.flags |= SWR_RESOURCE_FLAG_ALT_SURFACE;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev