https://bugs.freedesktop.org/show_bug.cgi?id=82920
Priority: medium Bug ID: 82920 Assignee: dri-devel@lists.freedesktop.org Summary: Invalid read during geometry program build Severity: normal Classification: Unclassified OS: All Reporter: pavol@klacansky.com Hardware: Other Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa
Created attachment 105060 --> https://bugs.freedesktop.org/attachment.cgi?id=105060&action=edit mc
When I try to compile marching cubes geometry program I get a lot of these
==31997== Invalid read of size 8 ==31997== at 0x9B51ED0: ??? (in /usr/lib/x86_64-linux-gnu/dri/r600_dri.so) ==31997== by 0x9B49F4F: ??? (in /usr/lib/x86_64-linux-gnu/dri/r600_dri.so) ==31997== by 0x9B93E56: ??? (in /usr/lib/x86_64-linux-gnu/dri/r600_dri.so) ==31997== by 0x9A7CB2E: ??? (in /usr/lib/x86_64-linux-gnu/dri/r600_dri.so) ==31997== by 0x9A7ED00: ??? (in /usr/lib/x86_64-linux-gnu/dri/r600_dri.so) ==31997== by 0x405371: main (mc.c:155)
and these
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:751 r600_shader_select - Failed to build shader variant (type=2) -22
I have attached whole program. It needs GLFW3 and GLEW.