diff options
author | Scott D Phillips <[email protected]> | 2018-03-15 12:53:05 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2018-05-27 19:24:33 -0700 |
commit | 4714784daeb4df97fa82cfcf8f566661cc4ff4a4 (patch) | |
tree | d17453772751e10221f4787d90e314fae356bad9 /src/intel/vulkan/anv_private.h | |
parent | 1aec4a07d45164fdb9ba4bc97f330a0e217e3bef (diff) |
anv: move canonical_address calculation into a separate function
A later patch will make use of this in other places. Also, remove
dependency on undefined behavior of left-shifting a signed value.
v2: - move function into a separate header (Chris)
v3: (by Ken) Add new header to the various build systems.
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index d043c77826e..c10af14eadf 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -42,6 +42,7 @@ #endif #include "common/gen_clflush.h" +#include "common/gen_gem.h" #include "dev/gen_device_info.h" #include "blorp/blorp.h" #include "compiler/brw_compiler.h" |