All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 28966] New: [r300g] Dynamic branching 3 demo does not run
@ 2010-07-08 22:06 bugzilla-daemon
  2010-08-18  2:34 ` [Bug 28966] " bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-07-08 22:06 UTC (permalink / raw)
  To: dri-devel

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

           Summary: [r300g] Dynamic branching 3 demo does not run
           Product: Mesa
           Version: git
          Platform: Other
               URL: http://www.humus.name/index.php?page=3D&ID=67
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/r300
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: sa@whiz.se


I'm filing this just in case it's of interest for those hacking shaders on
r300. Humus DynamicBranching3 demo does not run:

 Note: 'for (i ... )' body is too large/complex to unroll
 Fragment program using varying vars not written by vertex shader

For reference, this demo does work with the i965 driver.

http://www.humus.name/index.php?page=3D&ID=67

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: RV570
-- Model: Asus EAX1950Pro 256MB
-- Display connector: DVI
-- xf86-video-ati: 801e83227a59a29eea425ea612083bbf2b536c30
-- xserver: 1.8.1.901
-- mesa: 61a26cdfdc9c75a83c0d362c973d5436fe077be4
-- drm: 6ea2bda5f5ec8f27359760ce580fdad3df0464df
-- kernel: 2.6.35-rc3

-- 
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 28966] [r300g] Dynamic branching 3 demo does not run
  2010-07-08 22:06 [Bug 28966] New: [r300g] Dynamic branching 3 demo does not run bugzilla-daemon
@ 2010-08-18  2:34 ` bugzilla-daemon
  2010-08-18 18:56 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-08-18  2:34 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from Marek Olšák <maraeo@gmail.com> 2010-08-17 19:34:13 PDT ---
Could you test the demo with current mesa git?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
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 28966] [r300g] Dynamic branching 3 demo does not run
  2010-07-08 22:06 [Bug 28966] New: [r300g] Dynamic branching 3 demo does not run bugzilla-daemon
  2010-08-18  2:34 ` [Bug 28966] " bugzilla-daemon
@ 2010-08-18 18:56 ` bugzilla-daemon
  2010-08-18 19:37 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-08-18 18:56 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from Sven Arvidsson <sa@whiz.se> 2010-08-18 11:56:54 PDT ---
It seems to have regressed after the glsl2 merge it fails with "0:4(2):
preprocessor error: Invalid tokens after #" for both shaders.


/* Shader 2 source, checksum 0 */
#version 120
#define saturate(x) clamp(x,0.0,1.0)
#define lerp mix
#line 2
attribute vec2 textureCoord;
attribute vec3 tangent;
attribute vec3 binormal;
attribute vec3 normal;

uniform vec3 camPos;

varying vec2 texCoord;
varying vec3 vVec;

void main(){
        gl_Position = ftransform();

#ifdef MULTIPASS
        texCoord = textureCoord;

        vec3 viewVec = camPos - gl_Vertex.xyz;
        vVec.x = dot(viewVec, tangent);
        vVec.y = dot(viewVec, binormal);
        vVec.z = dot(viewVec, normal);
#endif
}



/* Compile status: fail */
/* Log Info: */
0:4(2): preprocessor error: Invalid tokens after #

-- 
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 28966] [r300g] Dynamic branching 3 demo does not run
  2010-07-08 22:06 [Bug 28966] New: [r300g] Dynamic branching 3 demo does not run bugzilla-daemon
  2010-08-18  2:34 ` [Bug 28966] " bugzilla-daemon
  2010-08-18 18:56 ` bugzilla-daemon
@ 2010-08-18 19:37 ` bugzilla-daemon
  2010-08-18 19:39 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-08-18 19:37 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #3 from Marek Olšák <maraeo@gmail.com> 2010-08-18 12:37:15 PDT ---
Could you please file a new bug against the GLSL2 compiler (Mesa core, I guess)
to keep driver-specific and core bugs separate?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
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 28966] [r300g] Dynamic branching 3 demo does not run
  2010-07-08 22:06 [Bug 28966] New: [r300g] Dynamic branching 3 demo does not run bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-08-18 19:37 ` bugzilla-daemon
@ 2010-08-18 19:39 ` bugzilla-daemon
  2010-08-18 20:14 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-08-18 19:39 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #4 from Marek Olšák <maraeo@gmail.com> 2010-08-18 12:39:08 PDT ---
Other than that, dynamic branching and loops should work with r300g to my
knowledge, I recall Tom adding the support for it just recently.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
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 28966] [r300g] Dynamic branching 3 demo does not run
  2010-07-08 22:06 [Bug 28966] New: [r300g] Dynamic branching 3 demo does not run bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-08-18 19:39 ` bugzilla-daemon
@ 2010-08-18 20:14 ` bugzilla-daemon
  2010-08-22 21:24 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-08-18 20:14 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #5 from Sven Arvidsson <sa@whiz.se> 2010-08-18 13:14:40 PDT ---
Filed as bug 29654

-- 
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 28966] [r300g] Dynamic branching 3 demo does not run
  2010-07-08 22:06 [Bug 28966] New: [r300g] Dynamic branching 3 demo does not run bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-08-18 20:14 ` bugzilla-daemon
@ 2010-08-22 21:24 ` bugzilla-daemon
  2010-08-26 13:43 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-08-22 21:24 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #6 from Sven Arvidsson <sa@whiz.se> 2010-08-22 14:24:17 PDT ---
Small update: the demo runs now, but isn't rendering correctly. It is however
looking the same as softpipe, so any bugs is probably on a more general level.

-- 
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 28966] [r300g] Dynamic branching 3 demo does not run
  2010-07-08 22:06 [Bug 28966] New: [r300g] Dynamic branching 3 demo does not run bugzilla-daemon
                   ` (5 preceding siblings ...)
  2010-08-22 21:24 ` bugzilla-daemon
@ 2010-08-26 13:43 ` bugzilla-daemon
  2010-09-03 20:50 ` bugzilla-daemon
  2010-09-03 20:52 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-08-26 13:43 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #7 from Sven Arvidsson <sa@whiz.se> 2010-08-26 06:43:14 PDT ---
Since error messages was added to r300g it now reports:

r300 FP: Compiler Error:
Fragment program does not support relative addressing  of source operands.
Using a dummy shader instead.
r300 VP: Compiler error:
Vertex program does not support relative addressing of destination operands
(yet).
Using a dummy shader instead.

-- 
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 28966] [r300g] Dynamic branching 3 demo does not run
  2010-07-08 22:06 [Bug 28966] New: [r300g] Dynamic branching 3 demo does not run bugzilla-daemon
                   ` (6 preceding siblings ...)
  2010-08-26 13:43 ` bugzilla-daemon
@ 2010-09-03 20:50 ` bugzilla-daemon
  2010-09-03 20:52 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-09-03 20:50 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #8 from Sven Arvidsson <sa@whiz.se> 2010-09-03 13:50:30 PDT ---
Seems to be running fine now with loop unrolling.

-- 
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 28966] [r300g] Dynamic branching 3 demo does not run
  2010-07-08 22:06 [Bug 28966] New: [r300g] Dynamic branching 3 demo does not run bugzilla-daemon
                   ` (7 preceding siblings ...)
  2010-09-03 20:50 ` bugzilla-daemon
@ 2010-09-03 20:52 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2010-09-03 20:52 UTC (permalink / raw)
  To: dri-devel

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

Sven Arvidsson <sa@whiz.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

-- 
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

end of thread, other threads:[~2010-09-03 20:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-08 22:06 [Bug 28966] New: [r300g] Dynamic branching 3 demo does not run bugzilla-daemon
2010-08-18  2:34 ` [Bug 28966] " bugzilla-daemon
2010-08-18 18:56 ` bugzilla-daemon
2010-08-18 19:37 ` bugzilla-daemon
2010-08-18 19:39 ` bugzilla-daemon
2010-08-18 20:14 ` bugzilla-daemon
2010-08-22 21:24 ` bugzilla-daemon
2010-08-26 13:43 ` bugzilla-daemon
2010-09-03 20:50 ` bugzilla-daemon
2010-09-03 20:52 ` 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.