On Sat, Aug 9, 2014 at 2:28 PM, Kenneth Graunke kenn...@whitecape.org wrote:
Different generations of hardware measure jump distances in different
units. Previously, every function that needed to set a jump target open
coded this scaling, or made a hardcoded assumption (i.e. just used 2).
On Sunday, August 10, 2014 01:47:31 AM Matt Turner wrote:
On Sat, Aug 9, 2014 at 2:28 PM, Kenneth Graunke kenn...@whitecape.org wrote:
[snip]
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c
b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index 665fc07..3d9c96a 100644
---
Different generations of hardware measure jump distances in different
units. Previously, every function that needed to set a jump target open
coded this scaling, or made a hardcoded assumption (i.e. just used 2).
Most functions start with the number of instructions to jump, and scale
up to the