diff options
author | Chia-I Wu <[email protected]> | 2013-06-27 15:17:08 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-06-28 10:44:51 +0800 |
commit | 20c691b9368ece77c8dc22d6af0aedb9a21eccbc (patch) | |
tree | 310e8a6c1d5a99757fe125ee07e22fd906b44321 /src/gallium/drivers/ilo/ilo_shader.c | |
parent | cabc7b44c0fef2122ee001363e4d6e5cb6e66012 (diff) |
ilo: use shorter names for dirty flags
The new names match those of ilo_context's members respectively, and are
shorter.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_shader.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_shader.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/ilo/ilo_shader.c b/src/gallium/drivers/ilo/ilo_shader.c index 1157c5fa21e..27555262b97 100644 --- a/src/gallium/drivers/ilo/ilo_shader.c +++ b/src/gallium/drivers/ilo/ilo_shader.c @@ -746,7 +746,7 @@ ilo_shader_create_vs(const struct ilo_dev_info *dev, shader = ilo_shader_state_create(precompile, PIPE_SHADER_VERTEX, state); /* states used in ilo_shader_variant_init() */ - shader->info.non_orthogonal_states = ILO_DIRTY_VERTEX_SAMPLER_VIEWS | + shader->info.non_orthogonal_states = ILO_DIRTY_VIEW_VS | ILO_DIRTY_RASTERIZER; return shader; @@ -762,7 +762,7 @@ ilo_shader_create_gs(const struct ilo_dev_info *dev, shader = ilo_shader_state_create(precompile, PIPE_SHADER_GEOMETRY, state); /* states used in ilo_shader_variant_init() */ - shader->info.non_orthogonal_states = ILO_DIRTY_GEOMETRY_SAMPLER_VIEWS | + shader->info.non_orthogonal_states = ILO_DIRTY_VIEW_GS | ILO_DIRTY_VS | ILO_DIRTY_RASTERIZER; @@ -779,9 +779,9 @@ ilo_shader_create_fs(const struct ilo_dev_info *dev, shader = ilo_shader_state_create(precompile, PIPE_SHADER_FRAGMENT, state); /* states used in ilo_shader_variant_init() */ - shader->info.non_orthogonal_states = ILO_DIRTY_FRAGMENT_SAMPLER_VIEWS | + shader->info.non_orthogonal_states = ILO_DIRTY_VIEW_FS | ILO_DIRTY_RASTERIZER | - ILO_DIRTY_FRAMEBUFFER; + ILO_DIRTY_FB; return shader; } |