mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
virgl: fix undefined shift to use unsigned.
Ported from virglrenderer. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
2ddd44d941
commit
8eb8be3f54
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ enum virgl_context_cmd {
|
|||
#define VIRGL_OBJ_SHADER_OFFSET_VAL(x) (((x) & 0x7fffffff) << 0)
|
||||
/* start contains full length in VAL - also implies continuations */
|
||||
/* continuation contains offset in VAL */
|
||||
#define VIRGL_OBJ_SHADER_OFFSET_CONT (0x1 << 31)
|
||||
#define VIRGL_OBJ_SHADER_OFFSET_CONT (0x1u << 31)
|
||||
#define VIRGL_OBJ_SHADER_NUM_TOKENS 4
|
||||
#define VIRGL_OBJ_SHADER_SO_NUM_OUTPUTS 5
|
||||
#define VIRGL_OBJ_SHADER_SO_STRIDE(x) (6 + (x))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue