* [Bug 47201] Absolute modifier does not work with 3-source TGSI instructions
2012-03-11 12:40 [Bug 47201] New: TGSI source register with absolute negative modifier does not work correctly bugzilla-daemon
@ 2012-03-11 6:24 ` bugzilla-daemon
2012-03-11 6:47 ` bugzilla-daemon
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-11 6:24 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=47201
--- Comment #1 from Vic Lee <llyzs@163.com> 2012-03-11 06:24:37 UTC ---
The issue might be related to r600_bytecode_alu_build() in r600_asm.c. In the
codes below:
if (alu->is_op3) {
// in this code branch it does not use absolute modifier at all.
} else {
...
Looks like whenever is_op3 is true (which is the case of CMP), absolute
modifier is just ignored.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 47201] Absolute modifier does not work with 3-source TGSI instructions
2012-03-11 12:40 [Bug 47201] New: TGSI source register with absolute negative modifier does not work correctly bugzilla-daemon
2012-03-11 6:24 ` [Bug 47201] Absolute modifier does not work with 3-source TGSI instructions bugzilla-daemon
@ 2012-03-11 6:47 ` bugzilla-daemon
2012-03-11 13:19 ` bugzilla-daemon
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-11 6:47 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=47201
Vic Lee <llyzs@163.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |NOTABUG
--- Comment #2 from Vic Lee <llyzs@163.com> 2012-03-11 06:47:32 UTC ---
OK I found the reference info in r600 instruction document and this is a
hardware limitation. So this probably has to be solved in higher level rather
than in driver.
Sorry for the noise.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 47201] New: TGSI source register with absolute negative modifier does not work correctly
@ 2012-03-11 12:40 bugzilla-daemon
2012-03-11 6:24 ` [Bug 47201] Absolute modifier does not work with 3-source TGSI instructions bugzilla-daemon
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-11 12:40 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=47201
Bug #: 47201
Summary: TGSI source register with absolute negative modifier
does not work correctly
Classification: Unclassified
Product: Mesa
Version: 8.0
Platform: Other
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: llyzs@163.com
Recently I found a TGSI fragment shader does not render correctly with r600
driver and I further identified the issue down to instructions in this form:
CMP TEMP[0].yz, -|TEMP[1].xxxx|, TEMP[2].xxxx, CONST[0].xyxw
If I covert all those instructions to the equivalents:
ABS TEMP[5], TEMP[1].xxxx
CMP TEMP[0].yz, -TEMP[5], TEMP[2].xxxx, CONST[0].xyxw
It then works fine. However, the original instructions work just fine with
nouveau and swrast driver, so it should be a r600 bug. Any clue on this issue?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 47201] Absolute modifier does not work with 3-source TGSI instructions
2012-03-11 12:40 [Bug 47201] New: TGSI source register with absolute negative modifier does not work correctly bugzilla-daemon
2012-03-11 6:24 ` [Bug 47201] Absolute modifier does not work with 3-source TGSI instructions bugzilla-daemon
2012-03-11 6:47 ` bugzilla-daemon
@ 2012-03-11 13:19 ` bugzilla-daemon
2012-03-12 1:07 ` bugzilla-daemon
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-11 13:19 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=47201
Vic Lee <llyzs@163.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|TGSI source register with |Absolute modifier does not
|absolute negative modifier |work with 3-source TGSI
|does not work correctly |instructions
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 47201] Absolute modifier does not work with 3-source TGSI instructions
2012-03-11 12:40 [Bug 47201] New: TGSI source register with absolute negative modifier does not work correctly bugzilla-daemon
` (2 preceding siblings ...)
2012-03-11 13:19 ` bugzilla-daemon
@ 2012-03-12 1:07 ` bugzilla-daemon
2012-03-12 13:33 ` bugzilla-daemon
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-12 1:07 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=47201
Tom Stellard <tstellar@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|NOTABUG |
--- Comment #3 from Tom Stellard <tstellar@gmail.com> 2012-03-11 18:07:27 PDT ---
The is a bug in the r600 driver. The shader compiler should be lowering this
to the hardware equivalent of this sequence:
ABS TEMP[5], TEMP[1].xxxx
CMP TEMP[0].yz, -TEMP[5], TEMP[2].xxxx, CONST[0].xyxw
Is there a piglit test or application that is hitting this bug?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 47201] Absolute modifier does not work with 3-source TGSI instructions
2012-03-11 12:40 [Bug 47201] New: TGSI source register with absolute negative modifier does not work correctly bugzilla-daemon
` (3 preceding siblings ...)
2012-03-12 1:07 ` bugzilla-daemon
@ 2012-03-12 13:33 ` bugzilla-daemon
2012-03-12 13:34 ` bugzilla-daemon
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-12 13:33 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=47201
--- Comment #4 from Vic Lee <llyzs@163.com> 2012-03-12 06:33:54 PDT ---
Thanks for concerning this bug. It will be great if this can be fixed at driver
level. I created a smallest possible test program which will be able to test
the shader I am having problem with.
Please see the file header for test info.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 47201] Absolute modifier does not work with 3-source TGSI instructions
2012-03-11 12:40 [Bug 47201] New: TGSI source register with absolute negative modifier does not work correctly bugzilla-daemon
` (4 preceding siblings ...)
2012-03-12 13:33 ` bugzilla-daemon
@ 2012-03-12 13:34 ` bugzilla-daemon
2015-01-28 20:10 ` bugzilla-daemon
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2012-03-12 13:34 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=47201
--- Comment #5 from Vic Lee <llyzs@163.com> 2012-03-12 06:34:57 PDT ---
Created attachment 58317
--> https://bugs.freedesktop.org/attachment.cgi?id=58317
test program to reproduce the bug
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 47201] Absolute modifier does not work with 3-source TGSI instructions
2012-03-11 12:40 [Bug 47201] New: TGSI source register with absolute negative modifier does not work correctly bugzilla-daemon
` (5 preceding siblings ...)
2012-03-12 13:34 ` bugzilla-daemon
@ 2015-01-28 20:10 ` bugzilla-daemon
2015-01-28 20:11 ` bugzilla-daemon
2018-03-06 18:29 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2015-01-28 20:10 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 339 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=47201
--- Comment #6 from xbx <xavierb@gmail.com> ---
Created attachment 112920
--> https://bugs.freedesktop.org/attachment.cgi?id=112920&action=edit
r600g patch to fix dropped abs() modifier on op3 alu operations.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1447 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 47201] Absolute modifier does not work with 3-source TGSI instructions
2012-03-11 12:40 [Bug 47201] New: TGSI source register with absolute negative modifier does not work correctly bugzilla-daemon
` (6 preceding siblings ...)
2015-01-28 20:10 ` bugzilla-daemon
@ 2015-01-28 20:11 ` bugzilla-daemon
2018-03-06 18:29 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2015-01-28 20:11 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 499 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=47201
--- Comment #7 from xbx <xavierb@gmail.com> ---
I stumbled upon this bug while testing and debugging a game using the st/nine.
And I made a tentative fix that works for me.
(caveat: I know nothing about mesa/gallium/graphic cards, but hey..)
Here is the proposed patch:
https://github.com/xxxbxxx/Mesa-3D/commit/0722d721f8e5ec496bf8ce4591a3b8a5bf87745d
or attached.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1398 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug 47201] Absolute modifier does not work with 3-source TGSI instructions
2012-03-11 12:40 [Bug 47201] New: TGSI source register with absolute negative modifier does not work correctly bugzilla-daemon
` (7 preceding siblings ...)
2015-01-28 20:11 ` bugzilla-daemon
@ 2018-03-06 18:29 ` bugzilla-daemon
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2018-03-06 18:29 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 529 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=47201
Gert Wollny <gw.fossdev@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|REOPENED |RESOLVED
--- Comment #8 from Gert Wollny <gw.fossdev@gmail.com> ---
This was fixed with ad84689f737edefe.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2072 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2018-03-06 18:29 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-11 12:40 [Bug 47201] New: TGSI source register with absolute negative modifier does not work correctly bugzilla-daemon
2012-03-11 6:24 ` [Bug 47201] Absolute modifier does not work with 3-source TGSI instructions bugzilla-daemon
2012-03-11 6:47 ` bugzilla-daemon
2012-03-11 13:19 ` bugzilla-daemon
2012-03-12 1:07 ` bugzilla-daemon
2012-03-12 13:33 ` bugzilla-daemon
2012-03-12 13:34 ` bugzilla-daemon
2015-01-28 20:10 ` bugzilla-daemon
2015-01-28 20:11 ` bugzilla-daemon
2018-03-06 18:29 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.