On 21/06/17 07:54 AM, Marek Olšák wrote: > From: Marek Olšák <marek.ol...@amd.com> > > for drirc options
[...] > diff --git a/src/gallium/include/state_tracker/drm_driver.h > b/src/gallium/include/state_tracker/drm_driver.h > index 88dda0a..4383276 100644 > --- a/src/gallium/include/state_tracker/drm_driver.h > +++ b/src/gallium/include/state_tracker/drm_driver.h > @@ -95,21 +95,21 @@ struct drm_driver_descriptor > * Identifying prefix/suffix of the binary, used by the pipe-loader. > */ > const char *driver_name; > > /** > * Create a pipe srcreen. > * > * This function does any wrapping of the screen. > * For example wrapping trace or rbug debugging drivers around it. > */ > - struct pipe_screen* (*create_screen)(int drm_fd); > + struct pipe_screen* (*create_screen)(int drm_fd, unsigned flags); If you use an enum for the flags, gdb should be able to print the symbolic flag names. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev