https://bugs.freedesktop.org/show_bug.cgi?id=61091

José Fonseca <jfons...@vmware.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker
           Priority|medium                      |high
           Assignee|mesa-dev@lists.freedesktop. |mar...@gmail.com
                   |org                         |
                 CC|                            |bri...@vmware.com,
                   |                            |jfons...@vmware.com,
                   |                            |srol...@vmware.com
            Summary|piglit                      |u_blitter only works on
                   |glsl-fs-texture2drect       |drivers that ignore
                   |regression                  |pipe_sampler_state.normaliz
                   |                            |ed_coords

--- Comment #2 from José Fonseca <jfons...@vmware.com> ---
(In reply to comment #1)
> glBlitFramebuffer with rectangle textures is also broken with both softpipe
> and llvmpipe and it has been so for quite a while. I have a piglit test for
> that.

The problem is that u_blitter is misleading drivers: it always sets
sampler_state.normalized_coords = 1, but then passes unnormalized coords for
rectangle textures.

It effectively only works on drivers that ignore normalized_coords.

If you prefer passing unnormalized coord then please fix the state.
Alternatively we could easily modify u_blitter to always pass normalized
coords.

Another thing to consider is just remove normalized_coords state, and force
drivers follow the texture target.

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

Reply via email to