diff options
author | Chia-I Wu <[email protected]> | 2013-06-03 15:25:48 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-06-07 11:13:16 +0800 |
commit | 5354dc742899c498a97fe6f64cc5d9237beb1e9f (patch) | |
tree | 0e6e88d3de023d20dee84a1cb54fcbbb926adf28 /src/gallium/drivers/ilo/ilo_gpe_gen6.h | |
parent | 2d82885d3cd9c5ab90e4777da8dfd723da273cd8 (diff) |
ilo: use emit_SURFACE_STATE() for constant buffers
Introduce ilo_cbuf_cso and initialize it in set_constant_buffer(). As
ilo_view_surface is embedded in ilo_cbuf_cso, switch to emit_SURFACE_STATE()
for constant buffers and remove emit_cbuf_SURFACE_STATE().
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_gpe_gen6.h')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_gpe_gen6.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/ilo/ilo_gpe_gen6.h b/src/gallium/drivers/ilo/ilo_gpe_gen6.h index 64893b55bf0..306f264e0bf 100644 --- a/src/gallium/drivers/ilo/ilo_gpe_gen6.h +++ b/src/gallium/drivers/ilo/ilo_gpe_gen6.h @@ -434,11 +434,6 @@ typedef uint32_t struct ilo_cp *cp); typedef uint32_t -(*ilo_gpe_gen6_cbuf_SURFACE_STATE)(const struct ilo_dev_info *dev, - const struct pipe_constant_buffer *cbuf, - struct ilo_cp *cp); - -typedef uint32_t (*ilo_gpe_gen6_so_SURFACE_STATE)(const struct ilo_dev_info *dev, const struct pipe_stream_output_target *so, const struct pipe_stream_output_info *so_info, @@ -531,7 +526,6 @@ struct ilo_gpe_gen6 { GEN6_EMIT(BINDING_TABLE_STATE); GEN6_EMIT(SURFACE_STATE); GEN6_EMIT(surf_SURFACE_STATE); - GEN6_EMIT(cbuf_SURFACE_STATE); GEN6_EMIT(so_SURFACE_STATE); GEN6_EMIT(SAMPLER_STATE); GEN6_EMIT(SAMPLER_BORDER_COLOR_STATE); |