summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-08-22 21:37:28 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-09-13 12:40:12 -0700
commit8f780af968ffda8c4cc241017a2bca1338176167 (patch)
tree04df37d0328f955e4471e0668b5e95c21782a532 /src/intel/vulkan/anv_private.h
parent1fe8bf82b20086e7190c7fe135ac15eb516e2d89 (diff)
downloadexternal_mesa3d-8f780af968ffda8c4cc241017a2bca1338176167.zip
external_mesa3d-8f780af968ffda8c4cc241017a2bca1338176167.tar.gz
external_mesa3d-8f780af968ffda8c4cc241017a2bca1338176167.tar.bz2
anv: Add initial blorp support
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index cb94297..a01aeba 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -41,6 +41,7 @@
#endif
#include "common/gen_device_info.h"
+#include "blorp/blorp.h"
#include "brw_compiler.h"
#include "util/macros.h"
#include "util/list.h"
@@ -709,6 +710,9 @@ struct anv_device {
struct anv_meta_state meta_state;
+ struct anv_pipeline_cache blorp_shader_cache;
+ struct blorp_context blorp;
+
struct anv_state border_colors;
struct anv_queue queue;
@@ -722,6 +726,8 @@ struct anv_device {
void anv_device_get_cache_uuid(void *uuid);
+void anv_device_init_blorp(struct anv_device *device);
+void anv_device_finish_blorp(struct anv_device *device);
void* anv_gem_mmap(struct anv_device *device,
uint32_t gem_handle, uint64_t offset, uint64_t size, uint32_t flags);