[Bug 78951] gl_PrimitiveID is zero if no geometry shader is present

2015-01-29 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=78951

pavol at klacansky.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from pavol at klacansky.com ---
Thank you, it works great.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 78951] gl_PrimitiveID is zero if no geometry shader is present

2015-01-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=78951

--- Comment #8 from Dave Airlie  ---
fix for this pushed to mesa master

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 78951] gl_PrimitiveID is zero if no geometry shader is present

2015-01-27 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=78951

--- Comment #7 from Dave Airlie  ---
FYI I've posted patches to mesa-dev to address this for evergreen and later.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 78951] gl_PrimitiveID is zero if no geometry shader is present

2014-12-17 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=78951

--- Comment #6 from Marek Olšák  ---
The hw GS mode A should be able to do this, which is basically a VS which gets
PrimitiveID on the input.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 78951] gl_PrimitiveID is zero if no geometry shader is present

2014-12-13 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=78951

--- Comment #5 from Ian Romanick  ---
(In reply to pavol from comment #4)
> I do not have radeonsi supported device. How does Intel driver support this?
> I think this is really useful for picking algorithm.

The piglit test tests/spec/glsl-1.50/execution/primitive-id-no-gs.shader_test
is for this very case.  That test passes at least on my Ivybridge.  I don't
know what we do in the driver to make this work... or if the hardware just
sorts it out.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 78951] gl_PrimitiveID is zero if no geometry shader is present

2014-12-12 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=78951

pavol at klacansky.com changed:

   What|Removed |Added

   Priority|medium  |highest

--- Comment #4 from pavol at klacansky.com ---
I do not have radeonsi supported device. How does Intel driver support this? I
think this is really useful for picking algorithm.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 78951] gl_PrimitiveID is zero if no geometry shader is present

2014-05-27 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=78951

--- Comment #3 from Michel D?nzer  ---
Just to be clear, I'm talking about doing this transparently in the driver, not
in the application.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 78951] gl_PrimitiveID is zero if no geometry shader is present

2014-05-20 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=78951

--- Comment #2 from pavol at klacansky.com ---
Alright, I can create 3 geometry shaders for all primitives, but I am not sure
if that is the right way for mesa. Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 78951] gl_PrimitiveID is zero if no geometry shader is present

2014-05-20 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=78951

--- Comment #1 from Michel D?nzer  ---
AFAICT the hardware doesn't provide any way to retrieve the primitive ID
without a geometry shader, so we'd probably need to use a passthrough geometry
shader for this. Any volunteers?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: 



[Bug 78951] gl_PrimitiveID is zero if no geometry shader is present

2014-05-20 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=78951

pavol at klacansky.com changed:

   What|Removed |Added

 CC||pavol at klacansky.com
Version|unspecified |git

-- 
You are receiving this mail because:
You are the assignee for the bug.
-- next part --
An HTML attachment was scrubbed...
URL: