[Mesa-dev] [PATCH] virgl: Add command and flags to initiate debugging on the host
Emil Velikov
emil.l.velikov at gmail.com
Thu Sep 6 13:25:57 UTC 2018
On 5 September 2018 at 16:34, Gert Wollny <gw.fossdev at gmail.com> wrote:
> +
> +enum virgl_debug_flags {
> + debug_shader_tgsi = 1 << 0,
> + debug_shader_glsl = 1 << 1,
> + debug_shader_streamout = 1 << 2,
> + debug_shader = debug_shader_tgsi | debug_shader_glsl | debug_shader_streamout,
> + debug_cmd = 1 << 3,
> + debug_object = 1 << 4,
> + debug_blit = 1 << 5,
> + debug_copy_resource = 1 << 6,
> + /* debug_features = 1 << 7, can't be triggered from the guest, because
> + * the code is run there before the guest can send commands */
> + debug_all = (1 << 8) - 1,
> +};
> +
Jfyi: These are effectively part of the ABI/protocol. A host/guest
definitions mismatch will result in the wrong debug being printed.
Ohh "the horror" I know, hence the jfyi ;-)
HTH
-Emil
More information about the mesa-dev
mailing list