mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
st/clover: Allow double precision operations
Pass "cl_khr_fp64" preprocessor definition to clang Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de> Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
parent
19338157c9
commit
81a156d099
1 changed files with 1 additions and 0 deletions
|
|
@ -175,6 +175,7 @@ namespace {
|
|||
|
||||
// clc.h requires that this macro be defined:
|
||||
c.getPreprocessorOpts().addMacroDef("cl_clang_storage_class_specifiers");
|
||||
c.getPreprocessorOpts().addMacroDef("cl_khr_fp64");
|
||||
|
||||
c.getLangOpts().NoBuiltin = true;
|
||||
c.getTargetOpts().Triple = triple;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue