[Mesa-dev] [PATCH] r600/sb: handle jump after target to end of program. (v2)

2017-11-26 Thread Dave Airlie
From: Dave Airlie This fixes hangs on cayman with tests/spec/arb_tessellation_shader/execution/trivial-tess-gs_no-gs-inputs.shader_test This has a single if/else in it, and when this peephole activated, it would set the jump target to NULL if there was no instruction after the final POP. This ad

[Mesa-dev] [PATCH] r600/sb: handle jump after target to end of program.

2017-11-26 Thread Dave Airlie
From: Dave Airlie This fixes hangs on cayman with tests/spec/arb_tessellation_shader/execution/trivial-tess-gs_no-gs-inputs.shader_test This has a single if/else in it, and when this peephole activated, it would set the jump target to NULL if there was no instruction after the final POP. This ad