summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_shader.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-04-29 10:14:04 +0800
committerChia-I Wu <[email protected]>2013-05-01 11:22:57 +0800
commitbef98f9c3add317dd1a0cfa6b160792281e2a066 (patch)
tree636f0fbcc3b26a8699dd013aff585fadb1232895 /src/gallium/drivers/ilo/ilo_shader.h
parent51d749e7e2f0b3f835ddc5f61bb380bf486350f1 (diff)
ilo: use ilo_dev_info in toy compiler
We need only dev->gen, but it makes sense to expose other information to the compiler.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_shader.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_shader.h2
1 files changed, 1 insertions, 1 deletions
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;