diff options
author | Erik Faye-Lund <[email protected]> | 2019-10-29 10:07:53 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2019-10-31 13:57:43 +0000 |
commit | 5ea787950f6e7feb0f9f3a146ae0d626bad19b63 (patch) | |
tree | c6de8788be17900a74e93051f1da58c5e43c966c /src/getopt | |
parent | 0ca0ad1252bbdc8e9fba5d3d89f8bc854ce355eb (diff) |
zink: heap-allocate samplers objects
VkSampler is 64-bit even on 32-bit systems, so casting it to a pointer
is a bad idea there. So let's heap-allocate the sampler-object instead.
Signed-off-by: Erik Faye-Lund <[email protected]>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2017
Reviewed-by: Witold Baryluk <[email protected]>
Tested-by: Witold Baryluk <[email protected]>
Diffstat (limited to 'src/getopt')
0 files changed, 0 insertions, 0 deletions