summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2015-07-20 15:12:56 +0000
committerTom Stellard <[email protected]>2015-07-20 20:28:26 +0000
commit4be30fcd058209966fc72fbfa51bbe881c307ed5 (patch)
tree8c3e233c03b77a83996dd8fba44bf012babf1e41 /src/gallium/winsys
parent5b7dd4d41900e3c795af134e0fad59cac9e0e7b4 (diff)
gallivm: Initialize LLVM Modules's DataLayout to an empty string.
This fixes crashes in llvmpipe with LLVM 3.8 and also some piglit tests on radeonsi that use the draw module. This is just a temporary solution. The correct solution will require creating a TargetMachine during gallivm initialization and pulling the DataLayout from there. This will be a somewhat invasive change, and it will need to be validatated on multiple LLVM versions. https://llvm.org/bugs/show_bug.cgi?id=24172 Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
0 files changed, 0 insertions, 0 deletions