diff options
author | Chia-I Wu <[email protected]> | 2013-04-29 10:14:04 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-05-01 11:22:57 +0800 |
commit | bef98f9c3add317dd1a0cfa6b160792281e2a066 (patch) | |
tree | 636f0fbcc3b26a8699dd013aff585fadb1232895 /src/gallium/drivers/ilo/ilo_shader.c | |
parent | 51d749e7e2f0b3f835ddc5f61bb380bf486350f1 (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.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_shader.c b/src/gallium/drivers/ilo/ilo_shader.c index 90793448381..9a367213fa5 100644 --- a/src/gallium/drivers/ilo/ilo_shader.c +++ b/src/gallium/drivers/ilo/ilo_shader.c @@ -327,8 +327,8 @@ ilo_shader_state_create(const struct ilo_context *ilo, if (!state) return NULL; + state->info.dev = ilo->dev; state->info.type = type; - state->info.gen = ilo->dev->gen; if (type == PIPE_SHADER_COMPUTE) { const struct pipe_compute_state *c = |