mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 12:08:06 +02:00
i965: Add parentheses around usage of macro arguments
Otherwise I cannot use this macro in test_eu_validate.cpp Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
parent
1fcdb1cbea
commit
4c961a5e79
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ struct gen_device_info
|
|||
};
|
||||
|
||||
#define gen_device_info_is_9lp(devinfo) \
|
||||
(devinfo->is_broxton || devinfo->is_geminilake)
|
||||
((devinfo)->is_broxton || (devinfo)->is_geminilake)
|
||||
|
||||
bool gen_get_device_info(int devid, struct gen_device_info *devinfo);
|
||||
const char *gen_get_device_name(int devid);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue