https://bugs.freedesktop.org/show_bug.cgi?id=89586
GitLab Migration User changed:
What|Removed |Added
Resolution|--- |MOVED
Status|NEW
https://bugs.freedesktop.org/show_bug.cgi?id=89586
Timothy Arceri changed:
What|Removed |Added
Component|Other |Drivers/DRI/swrast
--
You are receivin
https://bugs.freedesktop.org/show_bug.cgi?id=89586
Dan Sebald changed:
What|Removed |Added
Attachment #114599|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=89586
Dan Sebald changed:
What|Removed |Added
Attachment #114598|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=89586
Dan Sebald changed:
What|Removed |Added
Attachment #114597|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=89586
Dan Sebald changed:
What|Removed |Added
Attachment #114596|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=89586
Dan Sebald changed:
What|Removed |Added
Attachment #114619|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=89586
Dan Sebald changed:
What|Removed |Added
Attachment #114342|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #39 from Ilia Mirkin ---
(In reply to Dan Sebald from comment #38)
> I can experiment with some of the C "next nearest number" routines and get a
> feeling for the ULP. Thanks.
FWIW I think you're going way overboard with this. BTW,
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #38 from Dan Sebald ---
0.1 tolerance is rather large (I'm guessing that applies to normalized
numbers). In this case the discrepancy doesn't come close to that big.
I looked up ARB_shader_precision and I'm seeing tolerance on the o
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #37 from Ilia Mirkin ---
(In reply to Dan Sebald from comment #36)
> What is the general thought regarding floating point numerical issues and
> the OpenGL formulas?
In early GLSL versions, floating point accuracy was supposed to be
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #36 from Dan Sebald ---
What is the general thought regarding floating point numerical issues and the
OpenGL formulas? The reason the swrast-legacy driver is failing one the Piglit
pixelzoom tests is that this computation:
c1 =
https://bugs.freedesktop.org/show_bug.cgi?id=89586
Dan Sebald changed:
What|Removed |Added
Attachment #114591|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=89586
Dan Sebald changed:
What|Removed |Added
Attachment #114594|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=89586
Dan Sebald changed:
What|Removed |Added
Attachment #114595|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=89586
Dan Sebald changed:
What|Removed |Added
Attachment #114592|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=89586
Dan Sebald changed:
What|Removed |Added
Attachment #114593|0 |1
is obsolete|
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #34 from Dan Sebald ---
Created attachment 114599
--> https://bugs.freedesktop.org/attachment.cgi?id=114599&action=edit
swrast Gallium with patch Piglit test images
SWRAST_DRI.SO GALLIUM PATCH
By making that simple change in src/m
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #33 from Dan Sebald ---
Created attachment 114598
--> https://bugs.freedesktop.org/attachment.cgi?id=114598&action=edit
swrast Gallium Piglit test images
SWRAST_DRI.SO GALLIUM
The test images illustrate how the Gallium/LLVM driver
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #32 from Dan Sebald ---
Created attachment 114597
--> https://bugs.freedesktop.org/attachment.cgi?id=114597&action=edit
swrast legacy with patch Piglit test images
SWRAST_DRI.SO LEGACY PATCH
With the Mesa changeset I attached to t
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #31 from Dan Sebald ---
Created attachment 114596
--> https://bugs.freedesktop.org/attachment.cgi?id=114596&action=edit
swrast legacy Piglit test images
SWRAST_DRI.SO LEGACY
This is the current repository version of the legacy swr
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #30 from Dan Sebald ---
Created attachment 114595
--> https://bugs.freedesktop.org/attachment.cgi?id=114595&action=edit
swrast Gallium with patch Piglit test images
SWRAST_DRI.SO GALLIUM PATCH
By making that simple change in src/m
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #29 from Dan Sebald ---
Created attachment 114594
--> https://bugs.freedesktop.org/attachment.cgi?id=114594&action=edit
swrast Gallium Piglit test images
SWRAST_DRI.SO GALLIUM
The test images illustrate how the Gallium/LLVM driver
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #28 from Dan Sebald ---
Created attachment 114593
--> https://bugs.freedesktop.org/attachment.cgi?id=114593&action=edit
swrast legacy with patch Piglit test images
SWRAST_DRI.SO LEGACY PATCH
With the Mesa changeset I attached to t
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #27 from Dan Sebald ---
Created attachment 114592
--> https://bugs.freedesktop.org/attachment.cgi?id=114592&action=edit
swrast legacy Piglit test images
SWRAST_DRI.SO LEGACY
This is the current repository version of the legacy swr
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #26 from Dan Sebald ---
Created attachment 114591
--> https://bugs.freedesktop.org/attachment.cgi?id=114591&action=edit
Piglit pixelzoom test suite
See https://bugs.freedesktop.org/show_bug.cgi?id=89586#c25 for a description of
thi
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #25 from Dan Sebald ---
I will attach an initial attempt at a Piglit test suite for glPixelZoom() in
combination with glDrawPixels(). I tried (but failed) to set something up in
which if a test fails the associated image is displayed
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #24 from Dan Sebald ---
Yes, Gallium version works:
[sebald@ piglit]$ LD_LIBRARY_PATH=/home/sebald/local/lib:/usr/local/lib64
bin/ext_polygon_offset_clamp-draw
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver po
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #23 from Ilia Mirkin ---
(In reply to Dan Sebald from comment #22)
> glxinfo indicates GLX Version 1.4.
Not really relevant... I was looking for the version of X to determine the
general age of the system, as well as what libglx ship
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #22 from Dan Sebald ---
glxinfo indicates GLX Version 1.4.
I did find some tests that work without the GLX_ARB_create_context error.
There seems to be no correlation with 1.0, 2.0, etc. For example, this one
works:
[sebald@ piglit
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #21 from Ilia Mirkin ---
(In reply to Dan Sebald from comment #19)
> I've tried variations on the include and library directories but not much
> luck. Remade Waffles in /usr/local/lib64. I did get the local version of
[...]
> WAFF
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #20 from Ilia Mirkin ---
(In reply to Dan Sebald from comment #19)
> I've tried variations on the include and library directories but not much
> luck. Remade Waffles in /usr/local/lib64. I did get the local version of
> Mesa library
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #19 from Dan Sebald ---
I've tried variations on the include and library directories but not much luck.
Remade Waffles in /usr/local/lib64. I did get the local version of Mesa
library in the test programs:
[sebald@ piglit]$ LD_LIBR
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #18 from Dan Sebald ---
Oh, that's right. Somehow I have to build or run the piglit tests using the
local build of Mesa (which is repository-up-to-date), i.e., what is
accomplished with
PKG_CONFIG_PATH=/home/sebald/local/pkgconfig .
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #17 from Ilia Mirkin ---
(In reply to Ian Romanick from comment #16)
> (In reply to Ilia Mirkin from comment #15)
> > (In reply to Dan Sebald from comment #13)
> > > OK, thanks. I'll just run the executable binaries then:
> > >
> >
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #16 from Ian Romanick ---
(In reply to Ilia Mirkin from comment #15)
> (In reply to Dan Sebald from comment #13)
> > OK, thanks. I'll just run the executable binaries then:
> >
> > [sebald@ piglit]$ bin/ext_polygon_offset_clamp-draw
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #15 from Ilia Mirkin ---
(In reply to Dan Sebald from comment #13)
> OK, thanks. I'll just run the executable binaries then:
>
> [sebald@ piglit]$ bin/ext_polygon_offset_clamp-draw
> piglit: error: waffle_config_choose failed due t
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #14 from Ilia Mirkin ---
(In reply to Dan Sebald from comment #11)
> "it's all a bit annoying as it uses cmake"
>
> Yes, as bit, but eventually was able to make everything. The one
> significant issue was making Waffles in /usr/loca
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #13 from Dan Sebald ---
OK, thanks. I'll just run the executable binaries then:
[sebald@ piglit]$ bin/ext_polygon_offset_clamp-draw
piglit: error: waffle_config_choose failed due to
WAFFLE_ERROR_UNSUPPORTED_ON_PLATFORM: GLX_ARB_cre
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #12 from Ian Romanick ---
(In reply to Dan Sebald from comment #11)
> "it's all a bit annoying as it uses cmake"
>
> Yes, as bit, but eventually was able to make everything. The one
> significant issue was making Waffles in /usr/loc
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #11 from Dan Sebald ---
"it's all a bit annoying as it uses cmake"
Yes, as bit, but eventually was able to make everything. The one significant
issue was making Waffles in /usr/local couldn't be found by Piglit ccmake.
Because cmak
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #10 from Dan Sebald ---
OK, src/mesa/state_tracker/st_cb_drawpixels.c is it, thanks. Saved me a lot of
time.
And here's a comment about image size in the code:
/* Limit the size of the glDrawPixels to the max texture size.
*
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #9 from Ilia Mirkin ---
(In reply to Dan Sebald from comment #8)
> I cloned the piglit repository and will see if I can write a program. It
> shouldn't be difficult once I figure out the source tree organization, but
> it might take
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #8 from Dan Sebald ---
I cloned the piglit repository and will see if I can write a program. It
shouldn't be difficult once I figure out the source tree organization, but it
might take me a couple days.
I see the transition happenin
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #7 from Ilia Mirkin ---
Would you be able to supply a short program that reproduces the issue that
could be added to the piglit test suite? (http://cgit.freedesktop.org/piglit)
There are two tests in there that make use of glPixelZoom
https://bugs.freedesktop.org/show_bug.cgi?id=89586
Dan Sebald changed:
What|Removed |Added
CC||daniel.seb...@ieee.org
--
You are receivin
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #6 from Dan Sebald ---
One last comment about the efficiency of the pixel zooming. This routine seems
slow when I rescale the image; it's tolerable, but could be faster. There is a
setup of the memory addresses and context for every
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #5 from Dan Sebald ---
Created attachment 114342
--> https://bugs.freedesktop.org/attachment.cgi?id=114342&action=edit
Changeset to fix vertical lines and fine tune positive_unzoom_x() and
negative_unzoom_x()
--
You are receiving
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #4 from Dan Sebald ---
I'm now going to attach the full patch which fixes what I believe is another
subtle bug and attempts to make things slightly more efficient in the innermost
loop.
I notice in the following hunk of code from s_z
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #3 from Dan Sebald ---
Created attachment 114341
--> https://bugs.freedesktop.org/attachment.cgi?id=114341&action=edit
Example gradient image resulting after changeset applied. Vertical lines gone.
--
You are receiving this mail
https://bugs.freedesktop.org/show_bug.cgi?id=89586
Dan Sebald changed:
What|Removed |Added
Attachment #114338|text/plain |image/png
mime type|
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #2 from Dan Sebald ---
Created attachment 114340
--> https://bugs.freedesktop.org/attachment.cgi?id=114340&action=edit
Illustration of why ceil() is the correct operation to apply to zoom box
--
You are receiving this mail because
https://bugs.freedesktop.org/show_bug.cgi?id=89586
--- Comment #1 from Dan Sebald ---
Created attachment 114339
--> https://bugs.freedesktop.org/attachment.cgi?id=114339&action=edit
Minimal changeset to fix vertical lines when -1 < xfactor < 1
--
You are receiving this mail because:
You are t
https://bugs.freedesktop.org/show_bug.cgi?id=89586
Bug ID: 89586
Summary: Drivers/DRI/swrast
Product: Mesa
Version: git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: medium
54 matches
Mail list logo