summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/ilo/ilo_gpe_gen6.h358
-rw-r--r--src/gallium/drivers/ilo/ilo_gpe_gen7.h158
2 files changed, 258 insertions, 258 deletions
diff --git a/src/gallium/drivers/ilo/ilo_gpe_gen6.h b/src/gallium/drivers/ilo/ilo_gpe_gen6.h
index 8e08f59b282..7bc668feacd 100644
--- a/src/gallium/drivers/ilo/ilo_gpe_gen6.h
+++ b/src/gallium/drivers/ilo/ilo_gpe_gen6.h
@@ -120,354 +120,354 @@ struct ilo_shader;
typedef void
(*ilo_gpe_gen6_STATE_BASE_ADDRESS)(const struct ilo_gpe *gpe,
- struct intel_bo *general_state_bo,
- struct intel_bo *surface_state_bo,
- struct intel_bo *dynamic_state_bo,
- struct intel_bo *indirect_object_bo,
- struct intel_bo *instruction_bo,
- uint32_t general_state_size,
- uint32_t dynamic_state_size,
- uint32_t indirect_object_size,
- uint32_t instruction_size,
- struct ilo_cp *cp);
+ struct intel_bo *general_state_bo,
+ struct intel_bo *surface_state_bo,
+ struct intel_bo *dynamic_state_bo,
+ struct intel_bo *indirect_object_bo,
+ struct intel_bo *instruction_bo,
+ uint32_t general_state_size,
+ uint32_t dynamic_state_size,
+ uint32_t indirect_object_size,
+ uint32_t instruction_size,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_STATE_SIP)(const struct ilo_gpe *gpe,
- uint32_t sip,
- struct ilo_cp *cp);
+ uint32_t sip,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_VF_STATISTICS)(const struct ilo_gpe *gpe,
- bool enable,
- struct ilo_cp *cp);
+ bool enable,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_PIPELINE_SELECT)(const struct ilo_gpe *gpe,
- int pipeline,
- struct ilo_cp *cp);
+ int pipeline,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_MEDIA_VFE_STATE)(const struct ilo_gpe *gpe,
- int max_threads, int num_urb_entries,
- int urb_entry_size,
- struct ilo_cp *cp);
+ int max_threads, int num_urb_entries,
+ int urb_entry_size,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_MEDIA_CURBE_LOAD)(const struct ilo_gpe *gpe,
- uint32_t buf, int size,
- struct ilo_cp *cp);
+ uint32_t buf, int size,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_MEDIA_INTERFACE_DESCRIPTOR_LOAD)(const struct ilo_gpe *gpe,
- uint32_t offset, int num_ids,
- struct ilo_cp *cp);
+ uint32_t offset, int num_ids,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_MEDIA_GATEWAY_STATE)(const struct ilo_gpe *gpe,
- int id, int byte, int thread_count,
- struct ilo_cp *cp);
+ int id, int byte, int thread_count,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_MEDIA_STATE_FLUSH)(const struct ilo_gpe *gpe,
- int thread_count_water_mark,
- int barrier_mask,
- struct ilo_cp *cp);
+ int thread_count_water_mark,
+ int barrier_mask,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_MEDIA_OBJECT_WALKER)(const struct ilo_gpe *gpe,
- struct ilo_cp *cp);
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_BINDING_TABLE_POINTERS)(const struct ilo_gpe *gpe,
- uint32_t vs_binding_table,
- uint32_t gs_binding_table,
- uint32_t ps_binding_table,
- struct ilo_cp *cp);
+ uint32_t vs_binding_table,
+ uint32_t gs_binding_table,
+ uint32_t ps_binding_table,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_SAMPLER_STATE_POINTERS)(const struct ilo_gpe *gpe,
- uint32_t vs_sampler_state,
- uint32_t gs_sampler_state,
- uint32_t ps_sampler_state,
- struct ilo_cp *cp);
+ uint32_t vs_sampler_state,
+ uint32_t gs_sampler_state,
+ uint32_t ps_sampler_state,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_URB)(const struct ilo_gpe *gpe,
- int vs_total_size, int gs_total_size,
- int vs_entry_size, int gs_entry_size,
- struct ilo_cp *cp);
+ int vs_total_size, int gs_total_size,
+ int vs_entry_size, int gs_entry_size,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_VERTEX_BUFFERS)(const struct ilo_gpe *gpe,
- const struct pipe_vertex_buffer *vbuffers,
- const int *instance_divisors,
- uint32_t vbuffer_mask,
- struct ilo_cp *cp);
+ const struct pipe_vertex_buffer *vbuffers,
+ const int *instance_divisors,
+ uint32_t vbuffer_mask,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_VERTEX_ELEMENTS)(const struct ilo_gpe *gpe,
- const struct pipe_vertex_element *velements,
- int num_elements,
- bool last_velement_edgeflag,
- bool prepend_generated_ids,
- struct ilo_cp *cp);
+ const struct pipe_vertex_element *velements,
+ int num_elements,
+ bool last_velement_edgeflag,
+ bool prepend_generated_ids,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_INDEX_BUFFER)(const struct ilo_gpe *gpe,
- const struct pipe_index_buffer *ib,
- bool enable_cut_index,
- struct ilo_cp *cp);
+ const struct pipe_index_buffer *ib,
+ bool enable_cut_index,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_VIEWPORT_STATE_POINTERS)(const struct ilo_gpe *gpe,
- uint32_t clip_viewport,
- uint32_t sf_viewport,
- uint32_t cc_viewport,
- struct ilo_cp *cp);
+ uint32_t clip_viewport,
+ uint32_t sf_viewport,
+ uint32_t cc_viewport,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_CC_STATE_POINTERS)(const struct ilo_gpe *gpe,
- uint32_t blend_state,
- uint32_t depth_stencil_state,
- uint32_t color_calc_state,
- struct ilo_cp *cp);
+ uint32_t blend_state,
+ uint32_t depth_stencil_state,
+ uint32_t color_calc_state,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_SCISSOR_STATE_POINTERS)(const struct ilo_gpe *gpe,
- uint32_t scissor_rect,
- struct ilo_cp *cp);
+ uint32_t scissor_rect,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_VS)(const struct ilo_gpe *gpe,
- const struct ilo_shader *vs,
- int max_threads, int num_samplers,
- struct ilo_cp *cp);
+ const struct ilo_shader *vs,
+ int max_threads, int num_samplers,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_GS)(const struct ilo_gpe *gpe,
- const struct ilo_shader *gs,
- int max_threads, const struct ilo_shader *vs,
- uint32_t vs_offset,
- struct ilo_cp *cp);
+ const struct ilo_shader *gs,
+ int max_threads, const struct ilo_shader *vs,
+ uint32_t vs_offset,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_CLIP)(const struct ilo_gpe *gpe,
- const struct pipe_rasterizer_state *rasterizer,
- bool has_linear_interp,
- bool enable_guardband,
- int num_viewports,
- struct ilo_cp *cp);
+ const struct pipe_rasterizer_state *rasterizer,
+ bool has_linear_interp,
+ bool enable_guardband,
+ int num_viewports,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_SF)(const struct ilo_gpe *gpe,
- const struct pipe_rasterizer_state *rasterizer,
- const struct ilo_shader *fs,
- const struct ilo_shader *last_sh,
- struct ilo_cp *cp);
+ const struct pipe_rasterizer_state *rasterizer,
+ const struct ilo_shader *fs,
+ const struct ilo_shader *last_sh,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_WM)(const struct ilo_gpe *gpe,
- const struct ilo_shader *fs,
- int max_threads, int num_samplers,
- const struct pipe_rasterizer_state *rasterizer,
- bool dual_blend, bool cc_may_kill,
- struct ilo_cp *cp);
+ const struct ilo_shader *fs,
+ int max_threads, int num_samplers,
+ const struct pipe_rasterizer_state *rasterizer,
+ bool dual_blend, bool cc_may_kill,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_CONSTANT_VS)(const struct ilo_gpe *gpe,
- const uint32_t *bufs, const int *sizes,
- int num_bufs,
- struct ilo_cp *cp);
+ const uint32_t *bufs, const int *sizes,
+ int num_bufs,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_CONSTANT_GS)(const struct ilo_gpe *gpe,
- const uint32_t *bufs, const int *sizes,
- int num_bufs,
- struct ilo_cp *cp);
+ const uint32_t *bufs, const int *sizes,
+ int num_bufs,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_CONSTANT_PS)(const struct ilo_gpe *gpe,
- const uint32_t *bufs, const int *sizes,
- int num_bufs,
- struct ilo_cp *cp);
+ const uint32_t *bufs, const int *sizes,
+ int num_bufs,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_SAMPLE_MASK)(const struct ilo_gpe *gpe,
- unsigned sample_mask,
- struct ilo_cp *cp);
+ unsigned sample_mask,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_DRAWING_RECTANGLE)(const struct ilo_gpe *gpe,
- unsigned x, unsigned y,
- unsigned width, unsigned height,
- struct ilo_cp *cp);
+ unsigned x, unsigned y,
+ unsigned width, unsigned height,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_DEPTH_BUFFER)(const struct ilo_gpe *gpe,
- const struct pipe_surface *surface,
- bool hiz,
- struct ilo_cp *cp);
+ const struct pipe_surface *surface,
+ bool hiz,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_POLY_STIPPLE_OFFSET)(const struct ilo_gpe *gpe,
- int x_offset, int y_offset,
- struct ilo_cp *cp);
+ int x_offset, int y_offset,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_POLY_STIPPLE_PATTERN)(const struct ilo_gpe *gpe,
- const struct pipe_poly_stipple *pattern,
- struct ilo_cp *cp);
+ const struct pipe_poly_stipple *pattern,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_LINE_STIPPLE)(const struct ilo_gpe *gpe,
- unsigned pattern, unsigned factor,
- struct ilo_cp *cp);
+ unsigned pattern, unsigned factor,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_AA_LINE_PARAMETERS)(const struct ilo_gpe *gpe,
- struct ilo_cp *cp);
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_GS_SVB_INDEX)(const struct ilo_gpe *gpe,
- int index, unsigned svbi,
- unsigned max_svbi,
- bool load_vertex_count,
- struct ilo_cp *cp);
+ int index, unsigned svbi,
+ unsigned max_svbi,
+ bool load_vertex_count,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_MULTISAMPLE)(const struct ilo_gpe *gpe,
- int num_samples,
- const uint32_t *packed_sample_pos,
- bool pixel_location_center,
- struct ilo_cp *cp);
+ int num_samples,
+ const uint32_t *packed_sample_pos,
+ bool pixel_location_center,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_STENCIL_BUFFER)(const struct ilo_gpe *gpe,
- const struct pipe_surface *surface,
- struct ilo_cp *cp);
+ const struct pipe_surface *surface,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_HIER_DEPTH_BUFFER)(const struct ilo_gpe *gpe,
- const struct pipe_surface *surface,
- struct ilo_cp *cp);
+ const struct pipe_surface *surface,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DSTATE_CLEAR_PARAMS)(const struct ilo_gpe *gpe,
- uint32_t clear_val,
- struct ilo_cp *cp);
+ uint32_t clear_val,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_PIPE_CONTROL)(const struct ilo_gpe *gpe,
- uint32_t dw1,
- struct intel_bo *bo, uint32_t bo_offset,
- bool write_qword,
- struct ilo_cp *cp);
+ uint32_t dw1,
+ struct intel_bo *bo, uint32_t bo_offset,
+ bool write_qword,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen6_3DPRIMITIVE)(const struct ilo_gpe *gpe,
- const struct pipe_draw_info *info,
- bool rectlist,
- struct ilo_cp *cp);
+ const struct pipe_draw_info *info,
+ bool rectlist,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_INTERFACE_DESCRIPTOR_DATA)(const struct ilo_gpe *gpe,
- const struct ilo_shader **cs,
- uint32_t *sampler_state,
- int *num_samplers,
- uint32_t *binding_table_state,
- int *num_surfaces,
- int num_ids,
- struct ilo_cp *cp);
+ const struct ilo_shader **cs,
+ uint32_t *sampler_state,
+ int *num_samplers,
+ uint32_t *binding_table_state,
+ int *num_surfaces,
+ int num_ids,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_SF_VIEWPORT)(const struct ilo_gpe *gpe,
- const struct pipe_viewport_state *viewports,
- int num_viewports,
- struct ilo_cp *cp);
+ const struct pipe_viewport_state *viewports,
+ int num_viewports,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_CLIP_VIEWPORT)(const struct ilo_gpe *gpe,
- const struct pipe_viewport_state *viewports,
- int num_viewports,
- struct ilo_cp *cp);
+ const struct pipe_viewport_state *viewports,
+ int num_viewports,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_CC_VIEWPORT)(const struct ilo_gpe *gpe,
- const struct pipe_viewport_state *viewports,
- int num_viewports,
- struct ilo_cp *cp);
+ const struct pipe_viewport_state *viewports,
+ int num_viewports,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_COLOR_CALC_STATE)(const struct ilo_gpe *gpe,
- const struct pipe_stencil_ref *stencil_ref,
- float alpha_ref,
- const struct pipe_blend_color *blend_color,
- struct ilo_cp *cp);
+ const struct pipe_stencil_ref *stencil_ref,
+ float alpha_ref,
+ const struct pipe_blend_color *blend_color,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_BLEND_STATE)(const struct ilo_gpe *gpe,
- const struct pipe_blend_state *blend,
- const struct pipe_framebuffer_state *framebuffer,
- const struct pipe_alpha_state *alpha,
- struct ilo_cp *cp);
+ const struct pipe_blend_state *blend,
+ const struct pipe_framebuffer_state *framebuffer,
+ const struct pipe_alpha_state *alpha,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_DEPTH_STENCIL_STATE)(const struct ilo_gpe *gpe,
- const struct pipe_depth_stencil_alpha_state *dsa,
- struct ilo_cp *cp);
+ const struct pipe_depth_stencil_alpha_state *dsa,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_SCISSOR_RECT)(const struct ilo_gpe *gpe,
- const struct pipe_scissor_state *scissors,
- int num_scissors,
- struct ilo_cp *cp);
+ const struct pipe_scissor_state *scissors,
+ int num_scissors,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_BINDING_TABLE_STATE)(const struct ilo_gpe *gpe,
- uint32_t *surface_states,
- int num_surface_states,
- struct ilo_cp *cp);
+ uint32_t *surface_states,
+ int num_surface_states,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_surf_SURFACE_STATE)(const struct ilo_gpe *gpe,
- const struct pipe_surface *surface,
- struct ilo_cp *cp);
+ const struct pipe_surface *surface,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_view_SURFACE_STATE)(const struct ilo_gpe *gpe,
- const struct pipe_sampler_view *view,
- struct ilo_cp *cp);
+ const struct pipe_sampler_view *view,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_cbuf_SURFACE_STATE)(const struct ilo_gpe *gpe,
- const struct pipe_constant_buffer *cbuf,
- struct ilo_cp *cp);
+ const struct pipe_constant_buffer *cbuf,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_so_SURFACE_STATE)(const struct ilo_gpe *gpe,
- const struct pipe_stream_output_target *so,
- const struct pipe_stream_output_info *so_info,
- int so_index,
- struct ilo_cp *cp);
+ const struct pipe_stream_output_target *so,
+ const struct pipe_stream_output_info *so_info,
+ int so_index,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_SAMPLER_STATE)(const struct ilo_gpe *gpe,
- const struct pipe_sampler_state **samplers,
- const struct pipe_sampler_view **sampler_views,
- const uint32_t *sampler_border_colors,
- int num_samplers,
- struct ilo_cp *cp);
+ const struct pipe_sampler_state **samplers,
+ const struct pipe_sampler_view **sampler_views,
+ const uint32_t *sampler_border_colors,
+ int num_samplers,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_SAMPLER_BORDER_COLOR_STATE)(const struct ilo_gpe *gpe,
- const union pipe_color_union *color,
- struct ilo_cp *cp);
+ const union pipe_color_union *color,
+ struct ilo_cp *cp);
typedef uint32_t
(*ilo_gpe_gen6_push_constant_buffer)(const struct ilo_gpe *gpe,
- int size, void **pcb,
- struct ilo_cp *cp);
+ int size, void **pcb,
+ struct ilo_cp *cp);
/**
* GEN6 graphics processing engine
diff --git a/src/gallium/drivers/ilo/ilo_gpe_gen7.h b/src/gallium/drivers/ilo/ilo_gpe_gen7.h
index d3752e0095e..5aa150e70ba 100644
--- a/src/gallium/drivers/ilo/ilo_gpe_gen7.h
+++ b/src/gallium/drivers/ilo/ilo_gpe_gen7.h
@@ -138,16 +138,16 @@ typedef ilo_gpe_gen6_MEDIA_STATE_FLUSH ilo_gpe_gen7_MEDIA_STATE_FLUSH;
typedef void
(*ilo_gpe_gen7_GPGPU_WALKER)(const struct ilo_gpe *gpe,
- struct ilo_cp *cp);
+ struct ilo_cp *cp);
typedef ilo_gpe_gen6_3DSTATE_CLEAR_PARAMS ilo_gpe_gen7_3DSTATE_CLEAR_PARAMS;
typedef void
(*ilo_gpe_gen7_3DSTATE_DEPTH_BUFFER)(const struct ilo_gpe *gpe,
- const struct pipe_surface *surface,
- const struct pipe_depth_stencil_alpha_state *dsa,
- bool hiz,
- struct ilo_cp *cp);
+ const struct pipe_surface *surface,
+ const struct pipe_depth_stencil_alpha_state *dsa,
+ bool hiz,
+ struct ilo_cp *cp);
typedef ilo_gpe_gen6_3DSTATE_STENCIL_BUFFER ilo_gpe_gen7_3DSTATE_STENCIL_BUFFER;
typedef ilo_gpe_gen6_3DSTATE_HIER_DEPTH_BUFFER ilo_gpe_gen7_3DSTATE_HIER_DEPTH_BUFFER;
@@ -157,32 +157,32 @@ typedef ilo_gpe_gen6_3DSTATE_INDEX_BUFFER ilo_gpe_gen7_3DSTATE_INDEX_BUFFER;
typedef void
(*ilo_gpe_gen7_3DSTATE_CC_STATE_POINTERS)(const struct ilo_gpe *gpe,
- uint32_t color_calc_state,
- struct ilo_cp *cp);
+ uint32_t color_calc_state,
+ struct ilo_cp *cp);
typedef ilo_gpe_gen6_3DSTATE_SCISSOR_STATE_POINTERS ilo_gpe_gen7_3DSTATE_SCISSOR_STATE_POINTERS;
typedef ilo_gpe_gen6_3DSTATE_VS ilo_gpe_gen7_3DSTATE_VS;
typedef void
(*ilo_gpe_gen7_3DSTATE_GS)(const struct ilo_gpe *gpe,
- const struct ilo_shader *gs,
- int max_threads, int num_samplers,
- struct ilo_cp *cp);
+ const struct ilo_shader *gs,
+ int max_threads, int num_samplers,
+ struct ilo_cp *cp);
typedef ilo_gpe_gen6_3DSTATE_CLIP ilo_gpe_gen7_3DSTATE_CLIP;
typedef void
(*ilo_gpe_gen7_3DSTATE_SF)(const struct ilo_gpe *gpe,
- const struct pipe_rasterizer_state *rasterizer,
- const struct pipe_surface *zs_surf,
- struct ilo_cp *cp);
+ const struct pipe_rasterizer_state *rasterizer,
+ const struct pipe_surface *zs_surf,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_WM)(const struct ilo_gpe *gpe,
- const struct ilo_shader *fs,
- const struct pipe_rasterizer_state *rasterizer,
- bool cc_may_kill,
- struct ilo_cp *cp);
+ const struct ilo_shader *fs,
+ const struct pipe_rasterizer_state *rasterizer,
+ bool cc_may_kill,
+ struct ilo_cp *cp);
typedef ilo_gpe_gen6_3DSTATE_CONSTANT_VS ilo_gpe_gen7_3DSTATE_CONSTANT_VS;
typedef ilo_gpe_gen6_3DSTATE_CONSTANT_GS ilo_gpe_gen7_3DSTATE_CONSTANT_GS;
@@ -190,21 +190,21 @@ typedef ilo_gpe_gen6_3DSTATE_CONSTANT_PS ilo_gpe_gen7_3DSTATE_CONSTANT_PS;
typedef void
(*ilo_gpe_gen7_3DSTATE_SAMPLE_MASK)(const struct ilo_gpe *gpe,
- unsigned sample_mask,
- int num_samples,
- struct ilo_cp *cp);
+ unsigned sample_mask,
+ int num_samples,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_CONSTANT_HS)(const struct ilo_gpe *gpe,
- const uint32_t *bufs, const int *sizes,
- int num_bufs,
- struct ilo_cp *cp);
+ const uint32_t *bufs, const int *sizes,
+ int num_bufs,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_CONSTANT_DS)(const struct ilo_gpe *gpe,
- const uint32_t *bufs, const int *sizes,
- int num_bufs,
- struct ilo_cp *cp);
+ const uint32_t *bufs, const int *sizes,
+ int num_bufs,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_HS)(const struct ilo_gpe *gpe,
@@ -245,93 +245,93 @@ typedef void
typedef void
(*ilo_gpe_gen7_3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP)(const struct ilo_gpe *gpe,
- uint32_t viewport,
- struct ilo_cp *cp);
+ uint32_t viewport,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_VIEWPORT_STATE_POINTERS_CC)(const struct ilo_gpe *gpe,
- uint32_t viewport,
- struct ilo_cp *cp);
+ uint32_t viewport,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_BLEND_STATE_POINTERS)(const struct ilo_gpe *gpe,
- uint32_t blend,
- struct ilo_cp *cp);
+ uint32_t blend,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_DEPTH_STENCIL_STATE_POINTERS)(const struct ilo_gpe *gpe,
- uint32_t depth_stencil,
- struct ilo_cp *cp);
+ uint32_t depth_stencil,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_BINDING_TABLE_POINTERS_VS)(const struct ilo_gpe *gpe,
- uint32_t binding_table,
- struct ilo_cp *cp);
+ uint32_t binding_table,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_BINDING_TABLE_POINTERS_HS)(const struct ilo_gpe *gpe,
- uint32_t binding_table,
- struct ilo_cp *cp);
+ uint32_t binding_table,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_BINDING_TABLE_POINTERS_DS)(const struct ilo_gpe *gpe,
- uint32_t binding_table,
- struct ilo_cp *cp);
+ uint32_t binding_table,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_BINDING_TABLE_POINTERS_GS)(const struct ilo_gpe *gpe,
- uint32_t binding_table,
- struct ilo_cp *cp);
+ uint32_t binding_table,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_BINDING_TABLE_POINTERS_PS)(const struct ilo_gpe *gpe,
- uint32_t binding_table,
- struct ilo_cp *cp);
+ uint32_t binding_table,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_SAMPLER_STATE_POINTERS_VS)(const struct ilo_gpe *gpe,
- uint32_t sampler_state,
- struct ilo_cp *cp);
+ uint32_t sampler_state,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_SAMPLER_STATE_POINTERS_HS)(const struct ilo_gpe *gpe,
- uint32_t sampler_state,
- struct ilo_cp *cp);
+ uint32_t sampler_state,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_SAMPLER_STATE_POINTERS_DS)(const struct ilo_gpe *gpe,
- uint32_t sampler_state,
- struct ilo_cp *cp);
+ uint32_t sampler_state,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_SAMPLER_STATE_POINTERS_GS)(const struct ilo_gpe *gpe,
- uint32_t sampler_state,
- struct ilo_cp *cp);
+ uint32_t sampler_state,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_SAMPLER_STATE_POINTERS_PS)(const struct ilo_gpe *gpe,
- uint32_t sampler_state,
- struct ilo_cp *cp);
+ uint32_t sampler_state,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_URB_VS)(const struct ilo_gpe *gpe,
- int offset, int size, int entry_size,
- struct ilo_cp *cp);
+ int offset, int size, int entry_size,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_URB_HS)(const struct ilo_gpe *gpe,
- int offset, int size, int entry_size,
- struct ilo_cp *cp);
+ int offset, int size, int entry_size,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_URB_DS)(const struct ilo_gpe *gpe,
- int offset, int size, int entry_size,
- struct ilo_cp *cp);
+ int offset, int size, int entry_size,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_URB_GS)(const struct ilo_gpe *gpe,
- int offset, int size, int entry_size,
- struct ilo_cp *cp);
+ int offset, int size, int entry_size,
+ struct ilo_cp *cp);
typedef ilo_gpe_gen6_3DSTATE_DRAWING_RECTANGLE ilo_gpe_gen7_3DSTATE_DRAWING_RECTANGLE;
typedef ilo_gpe_gen6_3DSTATE_POLY_STIPPLE_OFFSET ilo_gpe_gen7_3DSTATE_POLY_STIPPLE_OFFSET;
@@ -342,38 +342,38 @@ typedef ilo_gpe_gen6_3DSTATE_MULTISAMPLE ilo_gpe_gen7_3DSTATE_MULTISAMPLE;
typedef void
(*ilo_gpe_gen7_3DSTATE_PUSH_CONSTANT_ALLOC_VS)(const struct ilo_gpe *gpe,
- int offset, int size,
- struct ilo_cp *cp);
+ int offset, int size,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_PUSH_CONSTANT_ALLOC_HS)(const struct ilo_gpe *gpe,
- int offset, int size,
- struct ilo_cp *cp);
+ int offset, int size,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_PUSH_CONSTANT_ALLOC_DS)(const struct ilo_gpe *gpe,
- int offset, int size,
- struct ilo_cp *cp);
+ int offset, int size,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_PUSH_CONSTANT_ALLOC_GS)(const struct ilo_gpe *gpe,
- int offset, int size,
- struct ilo_cp *cp);
+ int offset, int size,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_PUSH_CONSTANT_ALLOC_PS)(const struct ilo_gpe *gpe,
- int offset, int size,
- struct ilo_cp *cp);
+ int offset, int size,
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_SO_DECL_LIST)(const struct ilo_gpe *gpe,
- struct ilo_cp *cp);
+ struct ilo_cp *cp);
typedef void
(*ilo_gpe_gen7_3DSTATE_SO_BUFFER)(const struct ilo_gpe *gpe,
- int index,
- bool enable,
- struct ilo_cp *cp);
+ int index,
+ bool enable,
+ struct ilo_cp *cp);
typedef ilo_gpe_gen6_PIPE_CONTROL ilo_gpe_gen7_PIPE_CONTROL;
typedef ilo_gpe_gen6_3DPRIMITIVE ilo_gpe_gen7_3DPRIMITIVE;
@@ -381,9 +381,9 @@ typedef ilo_gpe_gen6_INTERFACE_DESCRIPTOR_DATA ilo_gpe_gen7_INTERFACE_DESCRIPTOR
typedef uint32_t
(*ilo_gpe_gen7_SF_CLIP_VIEWPORT)(const struct ilo_gpe *gpe,
- const struct pipe_viewport_state *viewports,
- int num_viewports,
- struct ilo_cp *cp);
+ const struct pipe_viewport_state *viewports,
+ int num_viewports,
+ struct ilo_cp *cp);
typedef ilo_gpe_gen6_CC_VIEWPORT ilo_gpe_gen7_CC_VIEWPORT;
typedef ilo_gpe_gen6_COLOR_CALC_STATE ilo_gpe_gen7_COLOR_CALC_STATE;