The following shader displays black quad on AMD 3650 Mobility. I used Firefox 44.
Seems to work fine with radeonsi FWIW. Is there anything interesting in Firefox's stderr output? Maybe the r600 driver is failing to compile a shader.
This prints forever:
EE /var/tmp/portage/media-libs/mesa-11.1.1/work/mesa-11.1.1/src/gallium/drivers/r600/r600_state_common.c:815 r600_shader_select - Failed to build shader variant (type=1) -1
EE /var/tmp/portage/media-libs/mesa-11.1.1/work/mesa-11.1.1/src/gallium/drivers/r600/r600_shader.c:161 r600_pipe_shader_create - translation from TGSI failed !
Same problem here, i see in logs ->
also i saw that the hardcoded value for registers is 124, any reason for such small number?
r600_shader.c:3662 r600_shader_from_tgsi - GPR limit exceeded - shader requires 230 registers
Some new register allocation in TGSI landed in v17.3 and was later further improved. Could you recheck with version 17.3+ or, if that doesn't work, with the current git?
On AMD 5450 and 6870 it works (the register limit is the same).
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/573.