<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Failed to build shader (translation from TGSI)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99349#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Failed to build shader (translation from TGSI)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99349">bug 99349</a>
from <span class="vcard"><a class="email" href="mailto:gw.fossdev@gmail.com" title="Gert Wollny <gw.fossdev@gmail.com>"> <span class="fn">Gert Wollny</span></a>
</span></b>
<pre>Adding yet more debugging output, and so far it seems that there is only one
operation failing: a multiplication of two operands with a write mask of 0xF
(see log below).
I also tested gzdoom like the poster I referenced in my last comment, but on my
machine it works fine.
r600_asm.c:1297 r600_bytecode_add_alu_type - check_and_set_bank_swizzle
returned -1
r600_asm.c:1303 r600_bytecode_add_alu_type - slot[0]: op: 2, bank_swizzle:0
bank_swizzle_force: 0
r600_asm.c:1303 r600_bytecode_add_alu_type - slot[1]: op: 2, bank_swizzle:0
bank_swizzle_force: 0
r600_asm.c:1303 r600_bytecode_add_alu_type - slot[2]: op: 2, bank_swizzle:0
bank_swizzle_force: 0
r600_asm.c:1303 r600_bytecode_add_alu_type - slot[3]: op: 2, bank_swizzle:0
bank_swizzle_force: 0
r600_asm.c:1305 r600_bytecode_add_alu_type - slot[4] = 0: 0
r600_shader.c:3979 tgsi_op2_s - Error in tgsi_op2_s, i = 3, lasti = 3,
r600_bytecode_add_alu returned -1
r600_shader.c:3981 tgsi_op2_s - op=2, num src registers: 2, write_mask=15
r600_shader.c:3983 tgsi_op2_s - alu.dst: {sel: 15, chan: 3, clamp: 0, write:
1, rel: 0
r600_shader.c:3986 tgsi_op2_s - alu.src0: {sel: 160, chan: 3, kc_bank:0
r600_shader.c:3988 tgsi_op2_s - alu.src1: {sel: 535, chan: 3, kc_bank:0
r600_shader.c:3332 r600_shader_from_tgsi - Failed to build shader at
ctx.inst_info->process, chip class: 6, opcode: 7 result: -1
r600_shader.c:183 r600_pipe_shader_create - translation from TGSI failed !
r600_state_common.c:787 r600_shader_select - Failed to build shader variant
(type=1) -1</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>