diff options
author | Chia-I Wu <[email protected]> | 2015-06-02 23:09:53 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2015-06-15 01:07:10 +0800 |
commit | da6e45fcbc4570df0ec4b8c8885f33a206da3552 (patch) | |
tree | 2a0e9d0ff43eb00e8b8d4acc0398445febc3f6a7 /src/gallium/drivers/ilo/ilo_shader.h | |
parent | 5a52627c4f9215649b0f244af96512b9aafceaa1 (diff) |
ilo: embed ilo_state_sbe in ilo_shader
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_shader.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_shader.h | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/src/gallium/drivers/ilo/ilo_shader.h b/src/gallium/drivers/ilo/ilo_shader.h index ddcd6f0356f..457f847bb0c 100644 --- a/src/gallium/drivers/ilo/ilo_shader.h +++ b/src/gallium/drivers/ilo/ilo_shader.h @@ -81,21 +81,13 @@ enum ilo_kernel_param { ILO_KERNEL_PARAM_COUNT, }; -struct ilo_kernel_routing { - uint32_t const_interp_enable; - uint32_t point_sprite_enable; - unsigned source_skip, source_len; - - bool swizzle_enable; - uint16_t swizzles[16]; -}; - struct intel_bo; struct ilo_builder; struct ilo_rasterizer_state; struct ilo_shader_cache; struct ilo_shader_state; struct ilo_shader_cso; +struct ilo_state_sbe; struct ilo_state_sol; struct ilo_state_vector; @@ -152,9 +144,9 @@ ilo_shader_select_kernel(struct ilo_shader_state *shader, uint32_t dirty); bool -ilo_shader_select_kernel_routing(struct ilo_shader_state *shader, - const struct ilo_shader_state *source, - const struct ilo_rasterizer_state *rasterizer); +ilo_shader_select_kernel_sbe(struct ilo_shader_state *shader, + const struct ilo_shader_state *source, + const struct ilo_rasterizer_state *rasterizer); uint32_t ilo_shader_get_kernel_offset(const struct ilo_shader_state *shader); @@ -172,7 +164,7 @@ ilo_shader_get_kernel_so_info(const struct ilo_shader_state *shader); const struct ilo_state_sol * ilo_shader_get_kernel_sol(const struct ilo_shader_state *shader); -const struct ilo_kernel_routing * -ilo_shader_get_kernel_routing(const struct ilo_shader_state *shader); +const struct ilo_state_sbe * +ilo_shader_get_kernel_sbe(const struct ilo_shader_state *shader); #endif /* ILO_SHADER_H */ |