mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 12:07:12 +00:00 
			
		
		
		
	tools/null_state/gen9: Send atleast one valid component in VF state
A programming restriction exists for this instruction, atleast one component of one valid vertex element must be enabled. Cc: Ben Widawsky <benjamin.widawsky@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Arun Siluvery <arun.siluvery@linux.intel.com> Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
This commit is contained in:
		
							parent
							
								
									dd82494724
								
							
						
					
					
						commit
						59cdc16b1a
					
				@ -440,7 +440,12 @@ int gen9_setup_null_render_state(struct intel_batchbuffer *batch)
 | 
			
		||||
	/* Vertex buffers */
 | 
			
		||||
	gen8_emit_vertex_buffers(batch);
 | 
			
		||||
	gen8_emit_vertex_elements(batch);
 | 
			
		||||
	OUT_CMD(GEN9_3DSTATE_COMPONENT_PACKING, 5);
 | 
			
		||||
 | 
			
		||||
	OUT_BATCH(GEN9_3DSTATE_COMPONENT_PACKING | 3);
 | 
			
		||||
	OUT_BATCH(1);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
	OUT_BATCH(0);
 | 
			
		||||
 | 
			
		||||
	OUT_BATCH(GEN6_3DSTATE_VF_STATISTICS | 1 /* Enable */);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user