projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
anv/tests: Create a dummy instance as well as device
[mesa.git]
/
src
/
intel
/
vulkan
/
tests
/
state_pool_no_free.c
diff --git
a/src/intel/vulkan/tests/state_pool_no_free.c
b/src/intel/vulkan/tests/state_pool_no_free.c
index 4b248c2ee66b9ff7bb93918324c3671ca8b17217..6e012e468343bd1efb18cde4317c23eb87cdff7b 100644
(file)
--- a/
src/intel/vulkan/tests/state_pool_no_free.c
+++ b/
src/intel/vulkan/tests/state_pool_no_free.c
@@
-54,7
+54,10
@@
static void *alloc_states(void *_job)
static void run_test()
{
- struct anv_device device;
+ struct anv_instance instance;
+ struct anv_device device = {
+ .instance = &instance,
+ };
struct anv_block_pool block_pool;
struct anv_state_pool state_pool;