aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_3d_pipeline.h
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <[email protected]>2013-08-05 15:57:31 -0600
committerChia-I Wu <[email protected]>2013-08-08 11:39:21 +0800
commitc2c5366ff2f7e2741650079cc5af69166df16811 (patch)
treeb2cd963258935430925421a0152bda354d05f381 /src/gallium/drivers/ilo/ilo_3d_pipeline.h
parent4bc9daf923194c3f31fe7b0f7f5f76ea87dee132 (diff)
ilo: Call GPE emit functions directly.
Eliminate pipeline and GPE function vectors and have the pipeline functions call the GPE emit functions directly.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_3d_pipeline.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_3d_pipeline.h98
1 files changed, 0 insertions, 98 deletions
diff --git a/src/gallium/drivers/ilo/ilo_3d_pipeline.h b/src/gallium/drivers/ilo/ilo_3d_pipeline.h
index f26fa83c2dc..ae4c7598f39 100644
--- a/src/gallium/drivers/ilo/ilo_3d_pipeline.h
+++ b/src/gallium/drivers/ilo/ilo_3d_pipeline.h
@@ -84,104 +84,6 @@ struct ilo_3d_pipeline {
struct intel_bo *bo, int index);
/**
- * all GPE functions of all GENs
- */
-#define GEN6_EMIT(name) ilo_gpe_gen6_ ## name gen6_ ## name
- GEN6_EMIT(STATE_BASE_ADDRESS);
- GEN6_EMIT(STATE_SIP);
- GEN6_EMIT(PIPELINE_SELECT);
- GEN6_EMIT(3DSTATE_BINDING_TABLE_POINTERS);
- GEN6_EMIT(3DSTATE_SAMPLER_STATE_POINTERS);
- GEN6_EMIT(3DSTATE_URB);
- GEN6_EMIT(3DSTATE_VERTEX_BUFFERS);
- GEN6_EMIT(3DSTATE_VERTEX_ELEMENTS);
- GEN6_EMIT(3DSTATE_INDEX_BUFFER);
- GEN6_EMIT(3DSTATE_VF_STATISTICS);
- GEN6_EMIT(3DSTATE_VIEWPORT_STATE_POINTERS);
- GEN6_EMIT(3DSTATE_CC_STATE_POINTERS);
- GEN6_EMIT(3DSTATE_SCISSOR_STATE_POINTERS);
- GEN6_EMIT(3DSTATE_VS);
- GEN6_EMIT(3DSTATE_GS);
- GEN6_EMIT(3DSTATE_CLIP);
- GEN6_EMIT(3DSTATE_SF);
- GEN6_EMIT(3DSTATE_WM);
- GEN6_EMIT(3DSTATE_CONSTANT_VS);
- GEN6_EMIT(3DSTATE_CONSTANT_GS);
- GEN6_EMIT(3DSTATE_CONSTANT_PS);
- GEN6_EMIT(3DSTATE_SAMPLE_MASK);
- GEN6_EMIT(3DSTATE_DRAWING_RECTANGLE);
- GEN6_EMIT(3DSTATE_DEPTH_BUFFER);
- GEN6_EMIT(3DSTATE_POLY_STIPPLE_OFFSET);
- GEN6_EMIT(3DSTATE_POLY_STIPPLE_PATTERN);
- GEN6_EMIT(3DSTATE_LINE_STIPPLE);
- GEN6_EMIT(3DSTATE_AA_LINE_PARAMETERS);
- GEN6_EMIT(3DSTATE_GS_SVB_INDEX);
- GEN6_EMIT(3DSTATE_MULTISAMPLE);
- GEN6_EMIT(3DSTATE_STENCIL_BUFFER);
- GEN6_EMIT(3DSTATE_HIER_DEPTH_BUFFER);
- GEN6_EMIT(3DSTATE_CLEAR_PARAMS);
- GEN6_EMIT(PIPE_CONTROL);
- GEN6_EMIT(3DPRIMITIVE);
- GEN6_EMIT(INTERFACE_DESCRIPTOR_DATA);
- GEN6_EMIT(SF_VIEWPORT);
- GEN6_EMIT(CLIP_VIEWPORT);
- GEN6_EMIT(CC_VIEWPORT);
- GEN6_EMIT(COLOR_CALC_STATE);
- GEN6_EMIT(BLEND_STATE);
- GEN6_EMIT(DEPTH_STENCIL_STATE);
- GEN6_EMIT(SCISSOR_RECT);
- GEN6_EMIT(BINDING_TABLE_STATE);
- GEN6_EMIT(SURFACE_STATE);
- GEN6_EMIT(so_SURFACE_STATE);
- GEN6_EMIT(SAMPLER_STATE);
- GEN6_EMIT(SAMPLER_BORDER_COLOR_STATE);
- GEN6_EMIT(push_constant_buffer);
-#undef GEN6_EMIT
-
-#define GEN7_EMIT(name) ilo_gpe_gen7_ ## name gen7_ ## name
- GEN7_EMIT(3DSTATE_DEPTH_BUFFER);
- GEN7_EMIT(3DSTATE_CC_STATE_POINTERS);
- GEN7_EMIT(3DSTATE_GS);
- GEN7_EMIT(3DSTATE_SF);
- GEN7_EMIT(3DSTATE_WM);
- GEN7_EMIT(3DSTATE_SAMPLE_MASK);
- GEN7_EMIT(3DSTATE_CONSTANT_HS);
- GEN7_EMIT(3DSTATE_CONSTANT_DS);
- GEN7_EMIT(3DSTATE_HS);
- GEN7_EMIT(3DSTATE_TE);
- GEN7_EMIT(3DSTATE_DS);
- GEN7_EMIT(3DSTATE_STREAMOUT);
- GEN7_EMIT(3DSTATE_SBE);
- GEN7_EMIT(3DSTATE_PS);
- GEN7_EMIT(3DSTATE_VIEWPORT_STATE_POINTERS_SF_CLIP);
- GEN7_EMIT(3DSTATE_VIEWPORT_STATE_POINTERS_CC);
- GEN7_EMIT(3DSTATE_BLEND_STATE_POINTERS);
- GEN7_EMIT(3DSTATE_DEPTH_STENCIL_STATE_POINTERS);
- GEN7_EMIT(3DSTATE_BINDING_TABLE_POINTERS_VS);
- GEN7_EMIT(3DSTATE_BINDING_TABLE_POINTERS_HS);
- GEN7_EMIT(3DSTATE_BINDING_TABLE_POINTERS_DS);
- GEN7_EMIT(3DSTATE_BINDING_TABLE_POINTERS_GS);
- GEN7_EMIT(3DSTATE_BINDING_TABLE_POINTERS_PS);
- GEN7_EMIT(3DSTATE_SAMPLER_STATE_POINTERS_VS);
- GEN7_EMIT(3DSTATE_SAMPLER_STATE_POINTERS_HS);
- GEN7_EMIT(3DSTATE_SAMPLER_STATE_POINTERS_DS);
- GEN7_EMIT(3DSTATE_SAMPLER_STATE_POINTERS_GS);
- GEN7_EMIT(3DSTATE_SAMPLER_STATE_POINTERS_PS);
- GEN7_EMIT(3DSTATE_URB_VS);
- GEN7_EMIT(3DSTATE_URB_HS);
- GEN7_EMIT(3DSTATE_URB_DS);
- GEN7_EMIT(3DSTATE_URB_GS);
- GEN7_EMIT(3DSTATE_PUSH_CONSTANT_ALLOC_VS);
- GEN7_EMIT(3DSTATE_PUSH_CONSTANT_ALLOC_HS);
- GEN7_EMIT(3DSTATE_PUSH_CONSTANT_ALLOC_DS);
- GEN7_EMIT(3DSTATE_PUSH_CONSTANT_ALLOC_GS);
- GEN7_EMIT(3DSTATE_PUSH_CONSTANT_ALLOC_PS);
- GEN7_EMIT(3DSTATE_SO_DECL_LIST);
- GEN7_EMIT(3DSTATE_SO_BUFFER);
- GEN7_EMIT(SF_CLIP_VIEWPORT);
-#undef GEN7_EMIT
-
- /**
* HW states.
*/
struct ilo_3d_pipeline_state {