projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae43620
)
swr/rast: add guards for cpuid on Linux
author
Alok Hota
<alok.hota@intel.com>
Wed, 12 Sep 2018 16:53:05 +0000
(11:53 -0500)
committer
Alok Hota
<alok.hota@intel.com>
Tue, 30 Apr 2019 19:48:12 +0000
(19:48 +0000)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/common/isa.hpp
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/swr/rasterizer/common/isa.hpp
b/src/gallium/drivers/swr/rasterizer/common/isa.hpp
index aea5740bb664b94eb2167b71e48e3d29f76bcfd6..41af0055f1e6950aa621e1dd2170317f01c06509 100644
(file)
--- a/
src/gallium/drivers/swr/rasterizer/common/isa.hpp
+++ b/
src/gallium/drivers/swr/rasterizer/common/isa.hpp
@@
-38,8
+38,10
@@
#include <intrin.h>
#else
#include <string.h>
+#if !defined(__cpuid)
#include <cpuid.h>
#endif
+#endif
class InstructionSet
{