Mesa (master): r600g: ignore sampler views for now.

Dave Airlie airlied at kemper.freedesktop.org
Mon Jun 22 04:03:04 UTC 2015


Module: Mesa
Branch: master
Commit: 2bf5a4211ef305d90ca6133ca09c3b79e6088d50
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2bf5a4211ef305d90ca6133ca09c3b79e6088d50

Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Jun 22 13:36:41 2015 +1000

r600g: ignore sampler views for now.

This fixes a regression in that r600 stopped working when
sampler views were pushed.

Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 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 07da167..af7622e 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -725,6 +725,7 @@ static int tgsi_declaration(struct r600_shader_ctx *ctx)
 
 	case TGSI_FILE_CONSTANT:
 	case TGSI_FILE_SAMPLER:
+	case TGSI_FILE_SAMPLER_VIEW:
 	case TGSI_FILE_ADDRESS:
 		break;
 




More information about the mesa-commit mailing list