summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_shader.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-04-29 09:41:11 +0800
committerChia-I Wu <[email protected]>2013-05-01 11:20:41 +0800
commitbb1f635dcc8f6d817b49785edcf6ec6b46ca5405 (patch)
tree0513e91559dce627a0904abc99dd33808bc42bc5 /src/gallium/drivers/ilo/ilo_shader.c
parent355f3f7ab50ea97c63887bfcaa274edbec5bfdf0 (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.c2
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 =