Re: [Mesa-dev] [PATCH] gallivm: fix indirect src register fetches requiring bitcast

2013-02-20 Thread Jose Fonseca
Good catch Roland. Reviewed-by: Jose Fonseca Jose - Original Message - > From: Roland Scheidegger > > For constant and temporary register fetches, the bitcasts weren't done > correctly for the indirect case, leading to crashes due to type mismatches. > Simply do the bitcasts after fet

[Mesa-dev] [PATCH] gallivm: fix indirect src register fetches requiring bitcast

2013-02-19 Thread sroland
From: Roland Scheidegger For constant and temporary register fetches, the bitcasts weren't done correctly for the indirect case, leading to crashes due to type mismatches. Simply do the bitcasts after fetching (much simpler than fixing up the load pointer for the various cases). This fixes https