Re: [Mesa-dev] [PATCH 2/2] gallivm: only fetch pointers to constant buffers once

2014-05-14 Thread Roland Scheidegger
Am 14.05.2014 13:43, schrieb Jose Fonseca: > > > - Original Message - >> From: Roland Scheidegger >> >> In 1d35f77228ad540a551a8e09e062b764a6e31f5e support for multiple constant >> buffers was introduced. This meant we had another indirection, and we did >> resolve the indirection for ea

Re: [Mesa-dev] [PATCH 2/2] gallivm: only fetch pointers to constant buffers once

2014-05-14 Thread Jose Fonseca
- Original Message - > From: Roland Scheidegger > > In 1d35f77228ad540a551a8e09e062b764a6e31f5e support for multiple constant > buffers was introduced. This meant we had another indirection, and we did > resolve the indirection for each constant buffer access. This looks very > reasonab

[Mesa-dev] [PATCH 2/2] gallivm: only fetch pointers to constant buffers once

2014-05-13 Thread sroland
From: Roland Scheidegger In 1d35f77228ad540a551a8e09e062b764a6e31f5e support for multiple constant buffers was introduced. This meant we had another indirection, and we did resolve the indirection for each constant buffer access. This looks very reasonable since llvm can figure out if it's the sa