mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-09 09:50:36 +01:00
svga: add have_sm4_1 flag, helper function
Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
d211679017
commit
018ff0112f
2 changed files with 9 additions and 0 deletions
|
|
@ -717,6 +717,12 @@ svga_have_vgpu10(const struct svga_context *svga)
|
|||
return svga_screen(svga->pipe.screen)->sws->have_vgpu10;
|
||||
}
|
||||
|
||||
static inline boolean
|
||||
svga_have_sm4_1(const struct svga_context *svga)
|
||||
{
|
||||
return svga_screen(svga->pipe.screen)->sws->have_sm4_1;
|
||||
}
|
||||
|
||||
static inline boolean
|
||||
svga_need_to_rebind_resources(const struct svga_context *svga)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -756,6 +756,9 @@ struct svga_winsys_screen
|
|||
/** Have VGPU v10 hardware? */
|
||||
boolean have_vgpu10;
|
||||
|
||||
/** Have SM4_1 hardware? */
|
||||
boolean have_sm4_1;
|
||||
|
||||
/** To rebind resources at the beginnning of a new command buffer */
|
||||
boolean need_to_rebind_resources;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue