[Mesa-dev] [Bug 109184] tgsi_to_nir: nir_build_alu: Assertion `src_bit_size == nir_alu_type_get_type_size(op_info->input_types[i])' failed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 30 20:46:12 UTC 2018


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

            Bug ID: 109184
           Summary: tgsi_to_nir: nir_build_alu: Assertion `src_bit_size ==
                    nir_alu_type_get_type_size(op_info->input_types[i])'
                    failed.
           Product: Mesa
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: christian.gmeiner at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Run the following TGSI shader with, for instance, ir3 cmdline compiler
(./src/gallium/drivers/freedreno/ir3_compiler twoside-frag.tgsi).

FRAG
PROPERTY FS_COLOR0_WRITES_ALL_CBUFS 1
DCL IN[0], COLOR, COLOR
DCL IN[1], COLOR[1], COLOR
DCL IN[2], FACE, CONSTANT
DCL OUT[0], COLOR
DCL CONST[0]
DCL TEMP[0]
DCL TEMP[1], LOCAL
IMM[0] FLT32 {    1.0000,     0.8000,     0.0000,     0.0000}
  0: MOV_SAT TEMP[0], IN[2]
  1: ADD TEMP[1].x, -CONST[0].xxxx, IMM[0].xxxx
  2: ADD_SAT TEMP[1].x, TEMP[1].xxxx, TEMP[0].xxxx
  3: IF TEMP[1].xxxx :1
  4:   MOV TEMP[1], IN[0]
  5: ELSE :1
  6:   MUL TEMP[1], IMM[0].yyyy, IN[1]
  7: ENDIF
  8: MOV OUT[0], TEMP[1]
  9: END

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181230/db5d5862/attachment.html>


More information about the mesa-dev mailing list