Re: [Mesa-dev] [PATCH] st/mesa: provide static inline st_init_vdpau_functions

2018-01-20 Thread Christian König
Am 19.01.2018 um 18:05 schrieb Emil Velikov: From: Emil Velikov The ifdef spaghetty in st_vdpau.c is rather confusing and misleading. Simplily it by introducing a static inline helper noop (when HAVE_ST_VDPAU is not defined) in the header. Signed-off-by: Emil Velikov Acked-by: Christian Kön

[Mesa-dev] [PATCH] st/mesa: provide static inline st_init_vdpau_functions

2018-01-19 Thread Emil Velikov
From: Emil Velikov The ifdef spaghetty in st_vdpau.c is rather confusing and misleading. Simplily it by introducing a static inline helper noop (when HAVE_ST_VDPAU is not defined) in the header. Signed-off-by: Emil Velikov --- src/mesa/state_tracker/st_vdpau.c | 9 +++-- src/mesa/state_tra