diff options
author | Vinson Lee <[email protected]> | 2018-02-05 23:24:45 +0000 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2018-02-05 15:32:20 -0800 |
commit | fe32f796f2657af966addb9d1f5d54dced3a7abc (patch) | |
tree | 3e4e21d990bbe3d7b8f9c33c3609f9f1a954bfbd /src/gallium/drivers/r600 | |
parent | 35b430157776e8a87a1879dbc136f3cb3f599df1 (diff) |
r600/fp64: Fix build.
CC r600_shader.lo
r600_shader.c: In function ‘egcm_int_to_double’:
r600_shader.c:4543:12: error: ‘ctx’ is a pointer; did you mean to use ‘->’?
if (ctx.bc->chip_class == CAYMAN)
^
->
Fixes: 35b430157776 ("r600/fp64: fix integer->double conversion")
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index e3b832b04f7..4874d14a581 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -4540,7 +4540,7 @@ static int egcm_int_to_double(struct r600_shader_ctx *ctx) alu.dst.sel = temp_reg; alu.dst.chan = i; alu.dst.write = 1; - if (ctx.bc->chip_class == CAYMAN) + if (ctx->bc->chip_class == CAYMAN) alu.last = i == dchan + 1; else alu.last = 1; /* trans only ops on evergreen */ |