mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
swr/rast: Fix wrong type allocation
ALLOCA pointer elements, not pointers. Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
parent
1cdbce8805
commit
18c9cb85d1
1 changed files with 1 additions and 1 deletions
|
|
@ -1014,7 +1014,7 @@ template<typename T> Value* FetchJit::GetSimdValidIndicesHelper(Value* pIndices,
|
|||
|
||||
{
|
||||
// store 0 index on stack to be used to conditionally load from if index address is OOB
|
||||
Value* pZeroIndex = ALLOCA(Ty);
|
||||
Value* pZeroIndex = ALLOCA(Ty->getPointerElementType());
|
||||
STORE(C((T)0), pZeroIndex);
|
||||
|
||||
// Load a SIMD of index pointers
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue