All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 35425] New: Instanced drawing: not implemented
@ 2011-03-18 16:26 bugzilla-daemon
  2011-04-07  8:12 ` [Bug 35425] " bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2011-03-18 16:26 UTC (permalink / raw)
  To: dri-devel

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

           Summary: Instanced drawing: not implemented
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: s3734770@mail.zih.tu-dresden.de


The follwing output is from the Unigine Heaven Demo:

0:171(53): error: `gl_InstanceID' undeclared
0:171(76): error: Operands to arithmetic operators must be numeric
0:171(76): error: Operands to arithmetic operators must be numeric
0:199(39): error: `gl_InstanceID' undeclared
0:199(42): error: Operands to arithmetic operators must be numeric
0:199(19): error: cannot construct `ivec3' from a non-numeric data type
0:199(58): error: Operands to arithmetic operators must be numeric
GLShader::loadVertex(): error in "core/shaders/meshes/vertex_base.shader" file
defines:
UNKNOWN,QUALITY_LOW,QUALITY_MEDIUM,QUALITY_HIGH,MULTISAMPLE_0,USE_INSTANCING,USE_SRGB,USE_DEFERRED,USE_PARALLAX,USE_REFLECTION,OPENGL,USE_PSEUDO_INSTANCING,USE_PSEUDO_TRANSFORM,HAS_ARB_DRAW_INSTANCED,BASE_LIGHT_OMNI,OMNI,SHADOW,PHONG_RIM

(This also occurs on software rendering)

I know that instancing is not implemented in mesa yet. Can you please start
designing the interface for mesa/gallium's drivers to enable starting to write
the drivers for it?

-- 
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] 4+ messages in thread

* [Bug 35425] Instanced drawing: not implemented
  2011-03-18 16:26 [Bug 35425] New: Instanced drawing: not implemented bugzilla-daemon
@ 2011-04-07  8:12 ` bugzilla-daemon
  2011-04-07  8:56 ` bugzilla-daemon
  2011-04-07 14:28 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2011-04-07  8:12 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #1 from s3734770@mail.zih.tu-dresden.de 2011-04-07 01:12:01 PDT ---
The PipeCap for instanced drawing is available, the drivers implement them,
TGSI has the construct TGSI_SEMANTIC_INSTANCEID.

The only component that does not support instanced drawing is the GLSL
compiler.

So can please any of the GLSL guys implement the gl_InstanceID uniform?

-- 
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] 4+ messages in thread

* [Bug 35425] Instanced drawing: not implemented
  2011-03-18 16:26 [Bug 35425] New: Instanced drawing: not implemented bugzilla-daemon
  2011-04-07  8:12 ` [Bug 35425] " bugzilla-daemon
@ 2011-04-07  8:56 ` bugzilla-daemon
  2011-04-07 14:28 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2011-04-07  8:56 UTC (permalink / raw)
  To: dri-devel

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

--- Comment #2 from s3734770@mail.zih.tu-dresden.de 2011-04-07 01:56:16 PDT ---
Created an attachment (id=45367)
 View: https://bugs.freedesktop.org/attachment.cgi?id=45367
 Review: https://bugs.freedesktop.org/review?bug=35425&attachment=45367

Probable patch

This patch works for me, but i dont know if it fits the coding style, so take
the best bytes of it to fix the problem

-- 
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] 4+ messages in thread

* [Bug 35425] Instanced drawing: not implemented
  2011-03-18 16:26 [Bug 35425] New: Instanced drawing: not implemented bugzilla-daemon
  2011-04-07  8:12 ` [Bug 35425] " bugzilla-daemon
  2011-04-07  8:56 ` bugzilla-daemon
@ 2011-04-07 14:28 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2011-04-07 14:28 UTC (permalink / raw)
  To: dri-devel

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

Alex Deucher <agd5f@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Drivers/Gallium/r600        |Mesa core
         AssignedTo|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.
                   |.org                        |org

-- 
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] 4+ messages in thread

end of thread, other threads:[~2011-04-07 14:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-18 16:26 [Bug 35425] New: Instanced drawing: not implemented bugzilla-daemon
2011-04-07  8:12 ` [Bug 35425] " bugzilla-daemon
2011-04-07  8:56 ` bugzilla-daemon
2011-04-07 14:28 ` 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.