summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/pixelshader9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-03-06 15:54:50 +0100
committerAxel Davy <[email protected]>2016-05-18 23:37:14 +0200
commit89344a80fc4479fa3ac466cb17706cf12070afe1 (patch)
treec5e26137ac7846d29c889e34b4f855d524ff53ed /src/gallium/state_trackers/nine/pixelshader9.c
parentae0fdd8a4078a2ba7edc2f0a12cb285a08921c8d (diff)
st/nine: Fix Pointsize in programmable shader
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/pixelshader9.c')
-rw-r--r--src/gallium/state_trackers/nine/pixelshader9.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/nine/pixelshader9.c b/src/gallium/state_trackers/nine/pixelshader9.c
index 541919c130c..8bf4f4bee27 100644
--- a/src/gallium/state_trackers/nine/pixelshader9.c
+++ b/src/gallium/state_trackers/nine/pixelshader9.c
@@ -92,7 +92,7 @@ NinePixelShader9_dtor( struct NinePixelShader9 *This )
if (This->base.device) {
struct pipe_context *pipe = This->base.device->pipe;
- struct nine_shader_variant64 *var = &This->variant;
+ struct nine_shader_variant *var = &This->variant;
do {
if (var->cso) {
@@ -109,7 +109,7 @@ NinePixelShader9_dtor( struct NinePixelShader9 *This )
pipe->delete_fs_state(pipe, This->ff_cso);
}
}
- nine_shader_variants_free64(&This->variant);
+ nine_shader_variants_free(&This->variant);
FREE((void *)This->byte_code.tokens); /* const_cast */
@@ -146,7 +146,7 @@ NinePixelShader9_GetVariant( struct NinePixelShader9 *This )
if (key == This->last_key)
return This->last_cso;
- cso = nine_shader_variant_get64(&This->variant, key);
+ cso = nine_shader_variant_get(&This->variant, key);
if (!cso) {
struct NineDevice9 *device = This->base.device;
struct nine_shader_info info;
@@ -166,7 +166,7 @@ NinePixelShader9_GetVariant( struct NinePixelShader9 *This )
hr = nine_translate_shader(This->base.device, &info);
if (FAILED(hr))
return NULL;
- nine_shader_variant_add64(&This->variant, key, info.cso);
+ nine_shader_variant_add(&This->variant, key, info.cso);
cso = info.cso;
}