int main(int argc, char **argv)
{
- struct anv_instance instance;
+ struct anv_instance instance = {
+ .physicalDevice = {
+ .use_softpin = true,
+ },
+ };
struct anv_device device = {
.instance = &instance,
};
static void run_test()
{
- struct anv_instance instance;
+ struct anv_instance instance = { };
struct anv_device device = {
.instance = &instance,
};
int main(int argc, char **argv)
{
- struct anv_instance instance;
+ struct anv_instance instance = { };
struct anv_device device = {
.instance = &instance,
};
int main(int argc, char **argv)
{
- struct anv_instance instance;
+ struct anv_instance instance = { };
struct anv_device device = {
.instance = &instance,
};
static void run_test()
{
- struct anv_instance instance;
+ struct anv_instance instance = { };
struct anv_device device = {
.instance = &instance,
};
int main(int argc, char **argv)
{
- struct anv_instance instance;
+ struct anv_instance instance = {
+ .physicalDevice = {
+ .use_softpin = true,
+ },
+ };
struct anv_device device = {
.instance = &instance,
};