From 6e8c2050dee07d3458d9bca1eed37b4dfe9025ff Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Wed, 18 Sep 2013 01:22:50 +0200 Subject: [PATCH] r600g: nasty hack for trine 2 --- src/gallium/drivers/r600/r600_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index ce15cd7..4c87f11 100644 --- a/src/gallium/drivers/r600/r600_shader.c +++ b/src/gallium/drivers/r600/r600_shader.c @@ -4317,7 +4317,7 @@ static int tgsi_tex(struct r600_shader_ctx *ctx) inst->Texture.Texture == TGSI_TEXTURE_SHADOWCUBE_ARRAY) { switch (opcode) { case FETCH_OP_SAMPLE: - opcode = FETCH_OP_SAMPLE_C; + opcode = FETCH_OP_SAMPLE; break; case FETCH_OP_SAMPLE_L: opcode = FETCH_OP_SAMPLE_C_L; -- 1.8.1.2