diff options
author | Axel Davy <[email protected]> | 2019-01-20 11:25:47 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2019-04-30 19:18:51 +0200 |
commit | 1ddeb43537f2f1d702372b65aa8bf83b83f10ba8 (patch) | |
tree | 1df526bbe6b509053831b55c205272a853eb7653 | |
parent | 3717ec415779746b66b47a0dda28c2c5ea9fcef8 (diff) |
st/nine: use helper ureg_DECL_sampler everywhere
Signed-off-by: Axel Davy <[email protected]>
-rw-r--r-- | src/gallium/state_trackers/nine/nine_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/nine_shader.c b/src/gallium/state_trackers/nine/nine_shader.c index 1ec03c67924..fe2dc4a707f 100644 --- a/src/gallium/state_trackers/nine/nine_shader.c +++ b/src/gallium/state_trackers/nine/nine_shader.c @@ -993,7 +993,7 @@ tx_src_param(struct shader_translator *tx, const struct sm1_src_param *param) case D3DSPR_SAMPLER: assert(param->mod == NINED3DSPSM_NONE); assert(param->swizzle == NINED3DSP_NOSWIZZLE); - src = ureg_src_register(TGSI_FILE_SAMPLER, param->idx); + src = ureg_DECL_sampler(ureg, param->idx); break; case D3DSPR_CONST: if (param->rel || !tx_lconstf(tx, &src, param->idx)) { |