diff options
author | Chia-I Wu <[email protected]> | 2013-04-29 09:41:11 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-05-01 11:20:41 +0800 |
commit | bb1f635dcc8f6d817b49785edcf6ec6b46ca5405 (patch) | |
tree | 0513e91559dce627a0904abc99dd33808bc42bc5 /src/gallium/drivers/ilo/ilo_shader.c | |
parent | 355f3f7ab50ea97c63887bfcaa274edbec5bfdf0 (diff) |
ilo: add ilo_dev_info shared by the screen and contexts
The struct is used to describe the device information, such as PCI ID, GEN,
GT, and etc.
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 d81ac3592f4..90793448381 100644 --- a/src/gallium/drivers/ilo/ilo_shader.c +++ b/src/gallium/drivers/ilo/ilo_shader.c @@ -328,7 +328,7 @@ ilo_shader_state_create(const struct ilo_context *ilo, return NULL; state->info.type = type; - state->info.gen = ilo->gen; + state->info.gen = ilo->dev->gen; if (type == PIPE_SHADER_COMPUTE) { const struct pipe_compute_state *c = |