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.c
diff --git
a/src/intel/vulkan/tests/state_pool.c
b/src/intel/vulkan/tests/state_pool.c
index 878ec19a595fee01a02607856a7bacaf56a81a1c..90c9bdea514cebcceb3a1f7aa41ee2c51ea0e2e0 100644
(file)
--- a/
src/intel/vulkan/tests/state_pool.c
+++ b/
src/intel/vulkan/tests/state_pool.c
@@
-34,7
+34,10
@@
int main(int argc, char **argv)
{
- 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;