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 jfons...@vmware.com Jose - Original Message - From: Roland Scheidegger srol...@vmware.com For constant and temporary register fetches, the bitcasts weren't done correctly for the indirect case, leading to crashes due to type mismatches.

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

2013-02-19 Thread sroland
From: Roland Scheidegger srol...@vmware.com 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