* [Bug 78951] New: gl_PrimitiveID is zero if no geometry shader is present
@ 2014-05-20 8:15 bugzilla-daemon
2014-05-20 8:15 ` [Bug 78951] " bugzilla-daemon
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-05-20 8:15 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 689 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=78951
Priority: medium
Bug ID: 78951
Assignee: dri-devel@lists.freedesktop.org
Summary: gl_PrimitiveID is zero if no geometry shader is
present
Severity: normal
Classification: Unclassified
OS: All
Reporter: pavol@klacansky.com
Hardware: Other
Status: NEW
Version: unspecified
Component: Drivers/Gallium/r600
Product: Mesa
I case there is no geometry shader attached to program, gl_PrimitiveID is
always zero.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1980 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] 11+ messages in thread
* [Bug 78951] gl_PrimitiveID is zero if no geometry shader is present
2014-05-20 8:15 [Bug 78951] New: gl_PrimitiveID is zero if no geometry shader is present bugzilla-daemon
@ 2014-05-20 8:15 ` bugzilla-daemon
2014-05-20 9:33 ` bugzilla-daemon
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-05-20 8:15 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 412 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=78951
pavol@klacansky.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pavol@klacansky.com
Version|unspecified |git
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1201 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] 11+ messages in thread
* [Bug 78951] gl_PrimitiveID is zero if no geometry shader is present
2014-05-20 8:15 [Bug 78951] New: gl_PrimitiveID is zero if no geometry shader is present bugzilla-daemon
2014-05-20 8:15 ` [Bug 78951] " bugzilla-daemon
@ 2014-05-20 9:33 ` bugzilla-daemon
2014-05-20 10:32 ` bugzilla-daemon
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-05-20 9:33 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 383 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=78951
--- Comment #1 from Michel Dänzer <michel@daenzer.net> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 1189 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] 11+ messages in thread
* [Bug 78951] gl_PrimitiveID is zero if no geometry shader is present
2014-05-20 8:15 [Bug 78951] New: gl_PrimitiveID is zero if no geometry shader is present bugzilla-daemon
2014-05-20 8:15 ` [Bug 78951] " bugzilla-daemon
2014-05-20 9:33 ` bugzilla-daemon
@ 2014-05-20 10:32 ` bugzilla-daemon
2014-05-27 6:16 ` bugzilla-daemon
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-05-20 10:32 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 293 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=78951
--- Comment #2 from pavol@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.
[-- Attachment #1.2: Type: text/html, Size: 1058 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] 11+ messages in thread
* [Bug 78951] gl_PrimitiveID is zero if no geometry shader is present
2014-05-20 8:15 [Bug 78951] New: gl_PrimitiveID is zero if no geometry shader is present bugzilla-daemon
` (2 preceding siblings ...)
2014-05-20 10:32 ` bugzilla-daemon
@ 2014-05-27 6:16 ` bugzilla-daemon
2014-12-12 22:13 ` bugzilla-daemon
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-05-27 6:16 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 297 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=78951
--- Comment #3 from Michel Dänzer <michel@daenzer.net> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 1103 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] 11+ messages in thread
* [Bug 78951] gl_PrimitiveID is zero if no geometry shader is present
2014-05-20 8:15 [Bug 78951] New: gl_PrimitiveID is zero if no geometry shader is present bugzilla-daemon
` (3 preceding siblings ...)
2014-05-27 6:16 ` bugzilla-daemon
@ 2014-12-12 22:13 ` bugzilla-daemon
2014-12-13 0:08 ` bugzilla-daemon
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-12-12 22:13 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 522 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=78951
pavol@klacansky.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|medium |highest
--- Comment #4 from pavol@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.
[-- Attachment #1.2: Type: text/html, Size: 1784 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] 11+ messages in thread
* [Bug 78951] gl_PrimitiveID is zero if no geometry shader is present
2014-05-20 8:15 [Bug 78951] New: gl_PrimitiveID is zero if no geometry shader is present bugzilla-daemon
` (4 preceding siblings ...)
2014-12-12 22:13 ` bugzilla-daemon
@ 2014-12-13 0:08 ` bugzilla-daemon
2014-12-17 10:32 ` bugzilla-daemon
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-12-13 0:08 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 601 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=78951
--- Comment #5 from Ian Romanick <idr@freedesktop.org> ---
(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.
[-- Attachment #1.2: Type: text/html, Size: 1451 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] 11+ messages in thread
* [Bug 78951] gl_PrimitiveID is zero if no geometry shader is present
2014-05-20 8:15 [Bug 78951] New: gl_PrimitiveID is zero if no geometry shader is present bugzilla-daemon
` (5 preceding siblings ...)
2014-12-13 0:08 ` bugzilla-daemon
@ 2014-12-17 10:32 ` bugzilla-daemon
2015-01-27 3:53 ` bugzilla-daemon
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2014-12-17 10:32 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 299 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=78951
--- Comment #6 from Marek Olšák <maraeo@gmail.com> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 1094 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] 11+ messages in thread
* [Bug 78951] gl_PrimitiveID is zero if no geometry shader is present
2014-05-20 8:15 [Bug 78951] New: gl_PrimitiveID is zero if no geometry shader is present bugzilla-daemon
` (6 preceding siblings ...)
2014-12-17 10:32 ` bugzilla-daemon
@ 2015-01-27 3:53 ` bugzilla-daemon
2015-01-28 0:54 ` bugzilla-daemon
2015-01-29 8:35 ` bugzilla-daemon
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2015-01-27 3:53 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 267 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=78951
--- Comment #7 from Dave Airlie <airlied@freedesktop.org> ---
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.
[-- Attachment #1.2: Type: text/html, Size: 1047 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] 11+ messages in thread
* [Bug 78951] gl_PrimitiveID is zero if no geometry shader is present
2014-05-20 8:15 [Bug 78951] New: gl_PrimitiveID is zero if no geometry shader is present bugzilla-daemon
` (7 preceding siblings ...)
2015-01-27 3:53 ` bugzilla-daemon
@ 2015-01-28 0:54 ` bugzilla-daemon
2015-01-29 8:35 ` bugzilla-daemon
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2015-01-28 0:54 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 225 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=78951
--- Comment #8 from Dave Airlie <airlied@freedesktop.org> ---
fix for this pushed to mesa master
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1005 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] 11+ messages in thread
* [Bug 78951] gl_PrimitiveID is zero if no geometry shader is present
2014-05-20 8:15 [Bug 78951] New: gl_PrimitiveID is zero if no geometry shader is present bugzilla-daemon
` (8 preceding siblings ...)
2015-01-28 0:54 ` bugzilla-daemon
@ 2015-01-29 8:35 ` bugzilla-daemon
9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2015-01-29 8:35 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 475 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=78951
pavol@klacansky.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #9 from pavol@klacansky.com ---
Thank you, it works great.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1916 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] 11+ messages in thread
end of thread, other threads:[~2015-01-29 8:35 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-20 8:15 [Bug 78951] New: gl_PrimitiveID is zero if no geometry shader is present bugzilla-daemon
2014-05-20 8:15 ` [Bug 78951] " bugzilla-daemon
2014-05-20 9:33 ` bugzilla-daemon
2014-05-20 10:32 ` bugzilla-daemon
2014-05-27 6:16 ` bugzilla-daemon
2014-12-12 22:13 ` bugzilla-daemon
2014-12-13 0:08 ` bugzilla-daemon
2014-12-17 10:32 ` bugzilla-daemon
2015-01-27 3:53 ` bugzilla-daemon
2015-01-28 0:54 ` bugzilla-daemon
2015-01-29 8:35 ` 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.