[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2014-04-16 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #16 from Pierre Ossman --- (In reply to comment #14) > Thanks for the feedback. So it is a precision issue after all. If fglrx > exhibits the same behavior, there is nothing I can do. I don't know of any > hardware state which control

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2014-04-16 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #15 from Erik Faye-Lund --- (In reply to comment #14) > Thanks for the feedback. So it is a precision issue after all. If fglrx > exhibits the same behavior, there is nothing I can do. I don't know of any > hardware state which contro

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2014-04-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #14 from Marek Ol??k --- Thanks for the feedback. So it is a precision issue after all. If fglrx exhibits the same behavior, there is nothing I can do. I don't know of any hardware state which controls precision of texture addressing.

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2014-04-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #13 from Pierre Ossman --- Hardly NOTABUG. There is no pixel at 0.5. The pixels are at 0.125, 0.375, 0.625 and 0.875. 0.4 should get rounded to the 0.375 pixel. That's the closest, not the 0.625 one. -- You are receiving this ma

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2014-04-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25871 Marek Ol??k changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2012-09-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #11 from Andreas Boll 2012-09-12 13:56:46 UTC --- (In reply to comment #10) > > It's so long ago I don't remember the exact details. You can easily figure it > out though. The test program creates a 4x4 checker board texture and the

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2012-09-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #10 from Pierre Ossman 2012-09-12 13:03:19 UTC --- (In reply to comment #7) > > What is the expected behavior? It's so long ago I don't remember the exact details. You can easily figure it out though. The test program creates a 4x4

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2012-09-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #9 from Andreas Boll 2012-09-12 12:34:21 UTC --- (In reply to comment #8) > might be fixed with this commit: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=f44bda17f515c411071ca8744ebd96039d9c583b I can't see any difference bet

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2012-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #11 from Andreas Boll 2012-09-12 13:56:46 UTC --- (In reply to comment #10) > > It's so long ago I don't remember the exact details. You can easily figure it > out though. The test program creates a 4x4 checker board texture and the

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2012-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #10 from Pierre Ossman 2012-09-12 13:03:19 UTC --- (In reply to comment #7) > > What is the expected behavior? It's so long ago I don't remember the exact details. You can easily figure it out though. The test program creates a 4x4

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2012-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #9 from Andreas Boll 2012-09-12 12:34:21 UTC --- (In reply to comment #8) > might be fixed with this commit: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=f44bda17f515c411071ca8744ebd96039d9c583b I can't see any difference bet

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2012-09-11 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #8 from Alex Deucher 2012-09-11 17:23:43 UTC --- might be fixed with this commit: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f44bda17f515c411071ca8744ebd96039d9c583b -- Configure bugmail: https://bugs.freedesktop.org/userpref

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2012-09-11 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #7 from Andreas Boll 2012-09-11 17:12:41 UTC --- Created attachment 66984 --> https://bugs.freedesktop.org/attachment.cgi?id=66984 captured shader I have tested your modified fp-tri-c from attachment 32446 with r600g on my rv770 .

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2012-09-11 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #6 from Pierre Ossman 2012-09-11 13:51:20 UTC --- I don't have any updated systems right now, so I can't really test. Test program should still be valid though. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=e

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2012-09-11 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25871 Andreas Boll changed: What|Removed |Added Component|Drivers/DRI/R600|Drivers/Gallium/r600 --- Comment #5 from

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2012-09-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #8 from Alex Deucher 2012-09-11 17:23:43 UTC --- might be fixed with this commit: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f44bda17f515c411071ca8744ebd96039d9c583b -- Configure bugmail: https://bugs.freedesktop.org/userprefs

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2012-09-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #7 from Andreas Boll 2012-09-11 17:12:41 UTC --- Created attachment 66984 --> https://bugs.freedesktop.org/attachment.cgi?id=66984 captured shader I have tested your modified fp-tri-c from attachment 32446 with r600g on my rv770 .

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2012-09-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #6 from Pierre Ossman 2012-09-11 13:51:20 UTC --- I don't have any updated systems right now, so I can't really test. Test program should still be valid though. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=e

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2012-09-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=25871 Andreas Boll changed: What|Removed |Added Component|Drivers/DRI/R600|Drivers/Gallium/r600 --- Comment #5 from

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2011-02-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #4 from Alex Deucher 2011-02-28 18:56:24 PST --- Created an attachment (id=43951) View: https://bugs.freedesktop.org/attachment.cgi?id=43951 Review: https://bugs.freedesktop.org/review?bug=25871&attachment=43951 possible fix Does

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2011-02-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #4 from Alex Deucher 2011-02-28 18:56:24 PST --- Created an attachment (id=43951) View: https://bugs.freedesktop.org/attachment.cgi?id=43951 Review: https://bugs.freedesktop.org/review?bug=25871&attachment=43951 possible fix Does

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2011-02-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #3 from Alex Deucher 2011-02-28 18:27:18 PST --- For point sampled textures, SQ_TEX_SAMPLER_WORD2_0.MC_COORD_TRUNCATE needs to be set to 1. The default behavior for texture addressing is to round unless that bit is set. -- Configur

[Bug 25871] nearest neighbour samples wrong texel (precision/rounding problem)

2011-02-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=25871 --- Comment #3 from Alex Deucher 2011-02-28 18:27:18 PST --- For point sampled textures, SQ_TEX_SAMPLER_WORD2_0.MC_COORD_TRUNCATE needs to be set to 1. The default behavior for texture addressing is to round unless that bit is set. -- Configu