<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - shader crashing glsl_compiler (uniform block assigned to vec2, then component substraced by 1)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107547">107547</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>shader crashing glsl_compiler (uniform block assigned to vec2, then component substraced by 1)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>glsl-compiler
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>karolherbst@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=141048" name="attach_141048" title="shader.frag">attachment 141048</a> <a href="attachment.cgi?id=141048&action=edit" title="shader.frag">[details]</a></span>
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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>