From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 82585] New: geometry shader with optional out variable segfaults
Date: Wed, 13 Aug 2014 21:49:02 +0000 [thread overview]
Message-ID: <bug-82585-502@http.bugs.freedesktop.org/> (raw)
[-- 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
next reply other threads:[~2014-08-13 21:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-13 21:49 bugzilla-daemon [this message]
2014-08-16 8:26 ` [Bug 82585] geometry shader with optional out variable segfaults 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-82585-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox