Module: Mesa Branch: master Commit: da9c3ed304be5d08ff989d61c6e2d1be8a845767 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=da9c3ed304be5d08ff989d61c6e2d1be8a845767
Author: Marek Olšák <[email protected]> Date: Sun Aug 10 20:21:21 2014 +0200 r600g: fix constant buffer fetches Somebody forgot to do this. It was uncovered by recent st/mesa changes. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82139 Cc: [email protected] Reviewed-by: Alex Deucher <[email protected]> Tested-by: Andreas Boll <[email protected]> --- src/gallium/drivers/r600/r600_shader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index e3407d5..481e9eb 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -1019,6 +1019,7 @@ static int tgsi_split_constant(struct r600_shader_ctx *ctx) alu.src[0].sel = ctx->src[i].sel; alu.src[0].chan = k; alu.src[0].rel = ctx->src[i].rel; + alu.src[0].kc_bank = ctx->src[i].kc_bank; alu.dst.sel = treg; alu.dst.chan = k; alu.dst.write = 1; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
