projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3717ec4
)
st/nine: use helper ureg_DECL_sampler everywhere
author
Axel Davy
<davyaxel0@gmail.com>
Sun, 20 Jan 2019 10:25:47 +0000
(11:25 +0100)
committer
Axel Davy
<davyaxel0@gmail.com>
Tue, 30 Apr 2019 17:18:51 +0000
(19:18 +0200)
Signed-off-by: Axel Davy <davyaxel0@gmail.com>
src/gallium/state_trackers/nine/nine_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/nine/nine_shader.c
b/src/gallium/state_trackers/nine/nine_shader.c
index 1ec03c67924614a203c3f27e3b6bbd8980aed9f3..fe2dc4a707f7c4754439acb1f849e3ff69665bc3 100644
(file)
--- 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)) {