[Bug 99349] Failed to build shader (translation from TGSI)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 24 13:10:43 UTC 2017


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

--- Comment #3 from Gert Wollny <gw.fossdev at gmail.com> ---
I've had the same error output when I was playing with the Unreal Editor with
an HD6850  (BARTS) using the latest mesa-git.  

In order to track it down I added some debugging to mesa and could get the 
following trace that leads to the error:

r600/r600_asm.c:615 
  check_and_set_bank_swizzle - Couldn't find a working swizzle

drivers/r600/r600_shader.c:3975 
  tgsi_op2_s - Error in tgsi_op2_s, i = 3, r600_bytecode_add_alu returned  -1

r600/r600_shader.c:3332 
r600_shader_from_tgsi - Failed to build shader at ctx.inst_info->process, 
   chip class: 6, opcode: 7 result: -1

Since I added output for every "return -1" in r600/r600_asm.c I also get a lots
of other messages, but I guess that these are normal. 

Debugging the code I also found  that check_and_set_bank_swizzle exiting with
"Couldn't find a working swizzle" is not necessarily an error, which means that
I'm now a bit lost, because I'm not sure about how continue debugging this
problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170524/6cab0263/attachment.html>


More information about the dri-devel mailing list