features->multiview = false;
features->multiviewGeometryShader = false;
features->multiviewTessellationShader = false;
- features->variablePointersStorageBuffer = false;
- features->variablePointers = false;
+ features->variablePointersStorageBuffer = true;
+ features->variablePointers = true;
features->protectedMemory = false;
features->samplerYcbcrConversion = true;
features->shaderDrawParameters = true;
}
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES: {
VkPhysicalDeviceVariablePointersFeatures *features = (void *) ext;
- features->variablePointersStorageBuffer = false;
- features->variablePointers = false;
+ features->variablePointersStorageBuffer = true;
+ features->variablePointers = true;
break;
}
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES: {
Extension('VK_EXT_index_type_uint8', 1, True),
Extension('VK_EXT_vertex_attribute_divisor', 1, True),
Extension('VK_KHR_shader_draw_parameters', 1, True),
+ Extension('VK_KHR_variable_pointers', 1, True),
]
MAX_API_VERSION = VkVersion(MAX_API_VERSION)
.transform_feedback = true,
.tessellation = true,
.draw_parameters = true,
+ .variable_pointers = true,
},
};
const nir_shader_compiler_options *nir_options =