* [Bug 82585] New: geometry shader with optional out variable segfaults
@ 2014-08-13 21:49 bugzilla-daemon
2014-08-16 8:26 ` [Bug 82585] " bugzilla-daemon
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2014-08-13 21:49 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1472 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82585
Priority: medium
Bug ID: 82585
Assignee: dri-devel@lists.freedesktop.org
Summary: geometry shader with optional out variable segfaults
Severity: normal
Classification: Unclassified
OS: All
Reporter: pavol@klacansky.com
Hardware: Other
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa
Running this shader in geometry stage, it segfaults:
#version 330
layout(points) in;
layout(points, max_vertices = 1) out;
in gl_PerVertex {
vec4 gl_Position;
float gl_PointSize;
float gl_ClipDistance[];
} gl_in[];
in vec4 v_colour[];
out vec4 g_colour;
void main() {
for(int i = 0; i < 1; i++) {
gl_Position = gl_in[i].gl_Position;
gl_PrimitiveID = gl_PrimitiveIDIn;
/* TODO report bug */
g_colour = v_colour[i];
EmitVertex();
}
EndPrimitive();
}
Following message is from Valgrind:
EE ../../../../../../src/gallium/drivers/r600/r600_shader.c:353
tgsi_is_supported - unsupported src 0 (dimension 1)
EE ../../../../../../src/gallium/drivers/r600/r600_shader.c:157
r600_pipe_shader_create - translation from TGSI failed !
EE ../../../../../../src/gallium/drivers/r600/r600_state_common.c:750
r600_shader_select - Failed to build shader variant (type=2) -22
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2783 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] 6+ messages in thread
* [Bug 82585] geometry shader with optional out variable segfaults
2014-08-13 21:49 [Bug 82585] New: geometry shader with optional out variable segfaults bugzilla-daemon
@ 2014-08-16 8:26 ` bugzilla-daemon
2014-08-26 3:32 ` bugzilla-daemon
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2014-08-16 8:26 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 415 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82585
pavol@klacansky.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|Other |x86-64 (AMD64)
OS|All |Linux (All)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1173 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] 6+ messages in thread
* [Bug 82585] geometry shader with optional out variable segfaults
2014-08-13 21:49 [Bug 82585] New: geometry shader with optional out variable segfaults bugzilla-daemon
2014-08-16 8:26 ` [Bug 82585] " bugzilla-daemon
@ 2014-08-26 3:32 ` bugzilla-daemon
2014-08-26 8:25 ` bugzilla-daemon
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2014-08-26 3:32 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 473 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82585
--- Comment #1 from Michel Dänzer <michel@daenzer.net> ---
Please provide more details about how to reproduce the problem. Ideal would be
if you could attach a simple test program which we can compile and run, or at
least a command line to reproduce the problem with a standard tool and the
geometry shader source code you provided.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1273 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] 6+ messages in thread
* [Bug 82585] geometry shader with optional out variable segfaults
2014-08-13 21:49 [Bug 82585] New: geometry shader with optional out variable segfaults bugzilla-daemon
2014-08-16 8:26 ` [Bug 82585] " bugzilla-daemon
2014-08-26 3:32 ` bugzilla-daemon
@ 2014-08-26 8:25 ` bugzilla-daemon
2014-08-26 8:28 ` bugzilla-daemon
2014-08-26 8:58 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2014-08-26 8:25 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 282 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82585
--- Comment #2 from pavol@klacansky.com ---
Created attachment 105265
--> https://bugs.freedesktop.org/attachment.cgi?id=105265&action=edit
Demo of bug
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1156 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] 6+ messages in thread
* [Bug 82585] geometry shader with optional out variable segfaults
2014-08-13 21:49 [Bug 82585] New: geometry shader with optional out variable segfaults bugzilla-daemon
` (2 preceding siblings ...)
2014-08-26 8:25 ` bugzilla-daemon
@ 2014-08-26 8:28 ` bugzilla-daemon
2014-08-26 8:58 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2014-08-26 8:28 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 215 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82585
--- Comment #3 from pavol@klacansky.com ---
Program should be valid according GL spec.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 974 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] 6+ messages in thread
* [Bug 82585] geometry shader with optional out variable segfaults
2014-08-13 21:49 [Bug 82585] New: geometry shader with optional out variable segfaults bugzilla-daemon
` (3 preceding siblings ...)
2014-08-26 8:28 ` bugzilla-daemon
@ 2014-08-26 8:58 ` bugzilla-daemon
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2014-08-26 8:58 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 768 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=82585
Michel Dänzer <michel@daenzer.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.
|.org |org
Component|Drivers/Gallium/r600 |Mesa core
--- Comment #4 from Michel Dänzer <michel@daenzer.net> ---
I'm hitting this assertion failure in the GLSL IR to TGSI translation code
first:
../../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:2157:visit: Assertion
`var->data.location != -1' failed.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2221 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] 6+ messages in thread
end of thread, other threads:[~2014-08-26 8:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-13 21:49 [Bug 82585] New: geometry shader with optional out variable segfaults bugzilla-daemon
2014-08-16 8:26 ` [Bug 82585] " bugzilla-daemon
2014-08-26 3:32 ` bugzilla-daemon
2014-08-26 8:25 ` bugzilla-daemon
2014-08-26 8:28 ` bugzilla-daemon
2014-08-26 8:58 ` 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.