Emil Velikov <[email protected]> writes: > Cc: Eric Anholt <[email protected]> > Signed-off-by: Emil Velikov <[email protected]> > --- > src/gallium/drivers/vc4/vc4_screen.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/src/gallium/drivers/vc4/vc4_screen.c > b/src/gallium/drivers/vc4/vc4_screen.c > index c044c8e..937ed63 100644 > --- a/src/gallium/drivers/vc4/vc4_screen.c > +++ b/src/gallium/drivers/vc4/vc4_screen.c > @@ -200,6 +200,18 @@ vc4_screen_get_param(struct pipe_screen *pscreen, enum > pipe_cap param) > case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT: > return 64; > > + case PIPE_CAP_VENDOR_ID: > + return 0x14E4; > + case PIPE_CAP_DEVICE_ID: > + return 0xFFFFFFFF; > + case PIPE_CAP_ACCELERATED: > + return 1; > + case PIPE_CAP_VIDEO_MEMORY: > + fprintf(stderr, "FINISHME: The value returned is > incorrect\n"); > + return 10;
This should probably be the same response as softpipe gives. Other than that, looks good.
pgpLYUM4pUvPi.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
