i965g: remove/disable inactive state atoms
This commit is contained in:
@@ -404,7 +404,7 @@ static int upload_invarient_state( struct brw_context *brw )
|
||||
BRW_BATCH_STRUCT(brw, &sip);
|
||||
}
|
||||
|
||||
|
||||
/* VF Statistics */
|
||||
{
|
||||
struct brw_vf_statistics vfs;
|
||||
memset(&vfs, 0, sizeof(vfs));
|
||||
|
||||
@@ -291,6 +291,7 @@ brw_create_screen(struct brw_winsys_screen *sws, uint pci_id)
|
||||
#ifdef DEBUG
|
||||
BRW_DEBUG = debug_get_flags_option("BRW_DEBUG", debug_names, 0);
|
||||
BRW_DEBUG |= debug_get_flags_option("INTEL_DEBUG", debug_names, 0);
|
||||
BRW_DEBUG |= DEBUG_STATS;
|
||||
#endif
|
||||
|
||||
memset(&chipset, 0, sizeof chipset);
|
||||
|
||||
@@ -52,7 +52,6 @@ brw_add_validated_bo(struct brw_context *brw, struct brw_winsys_buffer *bo)
|
||||
const struct brw_tracked_state brw_blend_constant_color;
|
||||
const struct brw_tracked_state brw_cc_unit;
|
||||
const struct brw_tracked_state brw_cc_vp;
|
||||
const struct brw_tracked_state brw_check_fallback;
|
||||
const struct brw_tracked_state brw_clip_prog;
|
||||
const struct brw_tracked_state brw_clip_unit;
|
||||
const struct brw_tracked_state brw_curbe_buffer;
|
||||
@@ -65,7 +64,6 @@ const struct brw_tracked_state brw_aa_line_parameters;
|
||||
const struct brw_tracked_state brw_pipelined_state_pointers;
|
||||
const struct brw_tracked_state brw_binding_table_pointers;
|
||||
const struct brw_tracked_state brw_depthbuffer;
|
||||
const struct brw_tracked_state brw_polygon_stipple_offset;
|
||||
const struct brw_tracked_state brw_polygon_stipple;
|
||||
const struct brw_tracked_state brw_program_parameters;
|
||||
const struct brw_tracked_state brw_recalculate_urb_fence;
|
||||
|
||||
@@ -38,8 +38,6 @@
|
||||
|
||||
const struct brw_tracked_state *atoms[] =
|
||||
{
|
||||
&brw_check_fallback,
|
||||
|
||||
// &brw_wm_input_sizes,
|
||||
&brw_vs_prog,
|
||||
&brw_gs_prog,
|
||||
@@ -58,7 +56,7 @@ const struct brw_tracked_state *atoms[] =
|
||||
&brw_cc_unit,
|
||||
|
||||
&brw_vs_surfaces, /* must do before unit */
|
||||
&brw_wm_constant_surface, /* must do before wm surfaces/bind bo */
|
||||
//&brw_wm_constant_surface, /* must do before wm surfaces/bind bo */
|
||||
&brw_wm_surfaces, /* must do before samplers and unit */
|
||||
&brw_wm_samplers,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user