summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_debug.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-10-11 11:59:20 +1100
committerTimothy Arceri <[email protected]>2017-10-12 08:52:38 +1100
commit7664aaf331220f39bf306b4c8afd62966df1391a (patch)
tree3a6f1312d8cd96b99539c93e5c65ab22e2965737 /src/amd/vulkan/radv_debug.c
parente568d2bd1f148821057a8bf071ce39f342112d83 (diff)
radv: remove duplicate debug_flags field
Reviewed-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_debug.c')
-rw-r--r--src/amd/vulkan/radv_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_debug.c b/src/amd/vulkan/radv_debug.c
index cb9509117eb..b69c05b64f3 100644
--- a/src/amd/vulkan/radv_debug.c
+++ b/src/amd/vulkan/radv_debug.c
@@ -599,7 +599,7 @@ radv_dump_enabled_options(struct radv_device *device, FILE *f)
fprintf(f, "Enabled debug options: ");
- mask = device->debug_flags;
+ mask = device->instance->debug_flags;
while (mask) {
int i = u_bit_scan64(&mask);
fprintf(f, "%s, ", radv_get_debug_option_name(i));