From bef98f9c3add317dd1a0cfa6b160792281e2a066 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 29 Apr 2013 10:14:04 +0800 Subject: ilo: use ilo_dev_info in toy compiler We need only dev->gen, but it makes sense to expose other information to the compiler. --- src/gallium/drivers/ilo/ilo_shader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/ilo/ilo_shader.h') diff --git a/src/gallium/drivers/ilo/ilo_shader.h b/src/gallium/drivers/ilo/ilo_shader.h index 2c9e556adf8..accea7ad6be 100644 --- a/src/gallium/drivers/ilo/ilo_shader.h +++ b/src/gallium/drivers/ilo/ilo_shader.h @@ -126,8 +126,8 @@ struct ilo_shader { * Information about a shader state. */ struct ilo_shader_info { + const struct ilo_dev_info *dev; int type; - int gen; const struct tgsi_token *tokens; -- cgit v1.2.3