aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-11-21 07:27:06 -0700
committerBrian Paul <[email protected]>2017-11-28 06:50:16 -0700
commitbae5b2a87c0b8f43df33124fa92f167f51148c9e (patch)
tree3ff4d850d305e83ff497bbc7d8e33e35f45dd441 /src/gallium/drivers/svga
parentaddfa4c5e8d8957cb8d3a0bf0f28ba178c87b97e (diff)
svga: s/unsigned/SVGA3dDevCapIndex/
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r--src/gallium/drivers/svga/svga_screen.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c
index ab604b989b4..86f53b21365 100644
--- a/src/gallium/drivers/svga/svga_screen.c
+++ b/src/gallium/drivers/svga/svga_screen.c
@@ -107,7 +107,8 @@ svga_get_name( struct pipe_screen *pscreen )
/** Helper for querying float-valued device cap */
static float
-get_float_cap(struct svga_winsys_screen *sws, unsigned cap, float defaultVal)
+get_float_cap(struct svga_winsys_screen *sws, SVGA3dDevCapIndex cap,
+ float defaultVal)
{
SVGA3dDevCapResult result;
if (sws->get_cap(sws, cap, &result))
@@ -119,7 +120,8 @@ get_float_cap(struct svga_winsys_screen *sws, unsigned cap, float defaultVal)
/** Helper for querying uint-valued device cap */
static unsigned
-get_uint_cap(struct svga_winsys_screen *sws, unsigned cap, unsigned defaultVal)
+get_uint_cap(struct svga_winsys_screen *sws, SVGA3dDevCapIndex cap,
+ unsigned defaultVal)
{
SVGA3dDevCapResult result;
if (sws->get_cap(sws, cap, &result))
@@ -131,7 +133,8 @@ get_uint_cap(struct svga_winsys_screen *sws, unsigned cap, unsigned defaultVal)
/** Helper for querying boolean-valued device cap */
static boolean
-get_bool_cap(struct svga_winsys_screen *sws, unsigned cap, boolean defaultVal)
+get_bool_cap(struct svga_winsys_screen *sws, SVGA3dDevCapIndex cap,
+ boolean defaultVal)
{
SVGA3dDevCapResult result;
if (sws->get_cap(sws, cap, &result))