summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/frontends/nine/nine_shader.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/frontends/nine/nine_shader.c')
-rw-r--r--lib/mesa/src/gallium/frontends/nine/nine_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/frontends/nine/nine_shader.c b/lib/mesa/src/gallium/frontends/nine/nine_shader.c
index b365362cf..af6dad67e 100644
--- a/lib/mesa/src/gallium/frontends/nine/nine_shader.c
+++ b/lib/mesa/src/gallium/frontends/nine/nine_shader.c
@@ -1010,7 +1010,7 @@ tx_src_param(struct shader_translator *tx, const struct sm1_src_param *param)
struct ureg_dst tmp;
assert(!param->rel || (IS_VS && param->file == D3DSPR_CONST) ||
- (D3DSPR_ADDR && tx->version.major == 3));
+ (param->file == D3DSPR_INPUT && tx->version.major == 3));
switch (param->file)
{