Re: [Mesa-dev] [PATCH v3] clover: fix getting scalar args api size

2016-08-30 Thread Francisco Jerez
Serge Martin writes: > This fix getting the size of a struct arg. vec3 types still work ok. > Only buit-in args need to have power of two alignment, getTypeAllocSize > reports the correct size in all cases. > --- > > This v3 is v1.1 modified for the curent ToT I'm still

[Mesa-dev] [PATCH v3] clover: fix getting scalar args api size

2016-08-30 Thread Serge Martin
This fix getting the size of a struct arg. vec3 types still work ok. Only buit-in args need to have power of two alignment, getTypeAllocSize reports the correct size in all cases. --- This v3 is v1.1 modified for the curent ToT src/gallium/state_trackers/clover/llvm/codegen/common.cpp | 7