diff options
Diffstat (limited to 'src/gallium/tests/graw')
-rw-r--r-- | src/gallium/tests/graw/fs-test.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/graw_util.h | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/gs-test.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/quad-sample.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/shader-leak.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/tri-gs.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/tri-instanced.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/vs-test.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/src/gallium/tests/graw/fs-test.c b/src/gallium/tests/graw/fs-test.c index e59377f692a..685be924bfa 100644 --- a/src/gallium/tests/graw/fs-test.c +++ b/src/gallium/tests/graw/fs-test.c @@ -150,7 +150,7 @@ static void set_viewport( float x, float y, vp.translate[2] = half_depth + z; vp.translate[3] = 0.0f; - ctx->set_viewport_state( ctx, &vp ); + ctx->set_viewport_states( ctx, 0, 1, &vp ); } static void set_vertices( void ) diff --git a/src/gallium/tests/graw/graw_util.h b/src/gallium/tests/graw/graw_util.h index febdf4499a3..84456b4a6a2 100644 --- a/src/gallium/tests/graw/graw_util.h +++ b/src/gallium/tests/graw/graw_util.h @@ -203,7 +203,7 @@ graw_util_viewport(struct graw_info *info, vp.translate[2] = half_depth + z; vp.translate[3] = 0.0f; - info->ctx->set_viewport_state(info->ctx, &vp); + info->ctx->set_viewport_states(info->ctx, 0, 1, &vp); } diff --git a/src/gallium/tests/graw/gs-test.c b/src/gallium/tests/graw/gs-test.c index 351a772d538..e4e4f61eba1 100644 --- a/src/gallium/tests/graw/gs-test.c +++ b/src/gallium/tests/graw/gs-test.c @@ -225,7 +225,7 @@ static void set_viewport( float x, float y, vp.translate[2] = half_depth + z; vp.translate[3] = 0.0f; - ctx->set_viewport_state( ctx, &vp ); + ctx->set_viewport_states( ctx, 0, 1, &vp ); } static void set_vertices( void ) diff --git a/src/gallium/tests/graw/quad-sample.c b/src/gallium/tests/graw/quad-sample.c index dd2865de366..9100272ffa0 100644 --- a/src/gallium/tests/graw/quad-sample.c +++ b/src/gallium/tests/graw/quad-sample.c @@ -78,7 +78,7 @@ static void set_viewport( float x, float y, vp.translate[2] = half_depth + z; vp.translate[3] = 0.0f; - ctx->set_viewport_state( ctx, &vp ); + ctx->set_viewport_states( ctx, 0, 1, &vp ); } static void set_vertices( void ) diff --git a/src/gallium/tests/graw/shader-leak.c b/src/gallium/tests/graw/shader-leak.c index 9c6e0eb9c3b..014e0cc74a3 100644 --- a/src/gallium/tests/graw/shader-leak.c +++ b/src/gallium/tests/graw/shader-leak.c @@ -68,7 +68,7 @@ static void set_viewport( float x, float y, vp.translate[2] = half_depth + z; vp.translate[3] = 0.0f; - ctx->set_viewport_state( ctx, &vp ); + ctx->set_viewport_states( ctx, 0, 1, &vp ); } static void set_vertices( void ) diff --git a/src/gallium/tests/graw/tri-gs.c b/src/gallium/tests/graw/tri-gs.c index 03b5234de89..535825ee9eb 100644 --- a/src/gallium/tests/graw/tri-gs.c +++ b/src/gallium/tests/graw/tri-gs.c @@ -69,7 +69,7 @@ static void set_viewport( float x, float y, vp.translate[2] = half_depth + z; vp.translate[3] = 0.0f; - ctx->set_viewport_state( ctx, &vp ); + ctx->set_viewport_states( ctx, 0, 1, &vp ); } static void set_vertices( void ) diff --git a/src/gallium/tests/graw/tri-instanced.c b/src/gallium/tests/graw/tri-instanced.c index 901ac863789..d00e7e9433a 100644 --- a/src/gallium/tests/graw/tri-instanced.c +++ b/src/gallium/tests/graw/tri-instanced.c @@ -98,7 +98,7 @@ static void set_viewport( float x, float y, vp.translate[2] = half_depth + z; vp.translate[3] = 0.0f; - ctx->set_viewport_state( ctx, &vp ); + ctx->set_viewport_states( ctx, 0, 1, &vp ); } diff --git a/src/gallium/tests/graw/vs-test.c b/src/gallium/tests/graw/vs-test.c index 1ab6732bb17..bfb40bea239 100644 --- a/src/gallium/tests/graw/vs-test.c +++ b/src/gallium/tests/graw/vs-test.c @@ -136,7 +136,7 @@ static void set_viewport( float x, float y, vp.translate[2] = half_depth + z; vp.translate[3] = 0.0f; - ctx->set_viewport_state( ctx, &vp ); + ctx->set_viewport_states( ctx, 0, 1, &vp ); } static void set_vertices( void ) |