aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/tests
diff options
context:
space:
mode:
authorMarkus Wick <[email protected]>2019-11-17 19:12:04 +0100
committerMarek Olšák <[email protected]>2019-11-21 22:52:55 -0500
commitb1156ecdf2f3a0488db6fbcb5e352634ebeece00 (patch)
tree0ba18efa6ed44bb054e77c26aa064dfa65354a8d /src/compiler/nir/tests
parente51eda99dfd6a66b066e371005e7a54ecc38fc11 (diff)
mapi/glapi: Generate sizeof() helpers instead of fixed sizes.
Generating a source code with a fixed size leads to issues with plattform dependent types. We either hard code 4 or 8 bytes there, and both are wrong on the other plattform. So this patch solves this issue by generating eg sizeof(GLsizeiptr), which is valid both on 32 and on 64 bit plattforms. Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/compiler/nir/tests')
0 files changed, 0 insertions, 0 deletions