diff options
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_protocol.h')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_protocol.h b/src/gallium/drivers/virgl/virgl_protocol.h index 62b28bd5d00..c55a8cc2057 100644 --- a/src/gallium/drivers/virgl/virgl_protocol.h +++ b/src/gallium/drivers/virgl/virgl_protocol.h @@ -105,6 +105,7 @@ enum virgl_context_cmd { */ #define VIRGL_CMD0(cmd, obj, len) ((cmd) | ((obj) << 8) | ((len) << 16)) +#define VIRGL_CMD0_MAX_DWORDS (((1ULL << 16) - 1) / 4) * 4 /* hw specification */ #define VIRGL_MAX_COLOR_BUFS 8 |