[Bug 107547] shader crashing glsl_compiler (uniform block assigned to vec2, then component substraced by 1)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Aug 11 18:20:41 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107547

            Bug ID: 107547
           Summary: shader crashing glsl_compiler (uniform block assigned
                    to vec2, then component substraced by 1)
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: glsl-compiler
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: karolherbst at gmail.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

Created attachment 141048
  --> https://bugs.freedesktop.org/attachment.cgi?id=141048&action=edit
shader.frag

see the attached shader.

no program output

backtrace:

#0  __strcmp_sse2_unaligned () at
../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:31
#1  0x00000000005e6723 in glsl_type::field_type (this=0x896090, name=0x0) at
../src/compiler/glsl_types.cpp:1228
#2  0x0000000000481f98 in ir_dereference_record::ir_dereference_record
(this=0x88b800, value=0x88b870, field=0x0) at ../src/compiler/glsl/ir.cpp:1429
#3  0x00000000004636e9 in ir_dereference_record::clone (this=0x88b3f0,
mem_ctx=0x8836d0, ht=<optimized out>) at ../src/compiler/glsl/ir_clone.cpp:199
#4  0x0000000000572d67 in ast_expression::do_hir (this=0x88a200,
instructions=0x896480, state=0x8836d0, needs_rvalue=<optimized out>) at
../src/compiler/glsl/ast_to_hir.cpp:1703
#5  0x000000000057680e in ast_expression::hir_no_rvalue (this=0x0,
instructions=0x8961e0, state=0x0) at ../src/compiler/glsl/ast_to_hir.cpp:1307
#6  0x0000000000579f5d in ast_expression_statement::hir (this=<optimized out>,
instructions=0x896480, state=0x8836d0) at
../src/compiler/glsl/ast_to_hir.cpp:2227
#7  0x000000000057a0a9 in ast_compound_statement::hir (this=0x88a2d0,
instructions=0x896480, state=0x8836d0) at
../src/compiler/glsl/ast_to_hir.cpp:2243
#8  0x0000000000588b17 in ast_function_definition::hir (this=0x88a330,
instructions=<optimized out>, state=0x8836d0) at
../src/compiler/glsl/ast_to_hir.cpp:6191
#9  0x0000000000571729 in _mesa_ast_to_hir (instructions=0x8885a0,
state=0x8836d0) at ../src/compiler/glsl/ast_to_hir.cpp:156
#10 0x0000000000456122 in _mesa_glsl_compile_shader (ctx=0x840370
<standalone_compile_shader::local_ctx>, shader=0x8815b0, dump_ast=<optimized
out>, dump_hir=false, force_recompile=<optimized out>)
    at ../src/compiler/glsl/glsl_parser_extras.cpp:2119
#11 0x0000000000408ce1 in compile_shader (ctx=<optimized out>,
shader=<optimized out>) at ../src/compiler/glsl/standalone.cpp:394
#12 standalone_compile_shader (_options=<optimized out>, num_files=<optimized
out>, files=0x7fffffffdca0) at ../src/compiler/glsl/standalone.cpp:504
#13 0x0000000000408340 in main (argc=<optimized out>, argv=0x7fffffffdc88) at
../src/compiler/glsl/main.cpp:95

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180811/f1809142/attachment.html>


More information about the intel-3d-bugs mailing list