mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 03:58:27 +00:00 
			
		
		
		
	tools/null_state_gen: Add copyright notice to state output
along with info about what generated it. Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
This commit is contained in:
		
							parent
							
								
									f246f1ed0c
								
							
						
					
					
						commit
						ca6b63f588
					
				@ -1,3 +1,4 @@
 | 
			
		||||
GPU_TOOLS_PATH := $(top_srcdir)
 | 
			
		||||
AM_CPPFLAGS = -I$(top_srcdir)
 | 
			
		||||
 | 
			
		||||
noinst_PROGRAMS = intel_null_state_gen
 | 
			
		||||
@ -14,7 +15,14 @@ intel_null_state_gen_SOURCES = 	\
 | 
			
		||||
gens := 6 7 8 9
 | 
			
		||||
 | 
			
		||||
h = /tmp/intel_renderstate_gen$$gen.c
 | 
			
		||||
state_headers: intel_null_state_gen
 | 
			
		||||
states: intel_null_state_gen
 | 
			
		||||
	for gen in $(gens); do \
 | 
			
		||||
		./intel_null_state_gen $$gen >$(h) ;\
 | 
			
		||||
		head -n 22 intel_null_state_gen.c >$(h); \
 | 
			
		||||
		if test -d $(GPU_TOOLS_PATH)/.git; then \
 | 
			
		||||
			echo -n " * Generated by: " >>$(h); \
 | 
			
		||||
			git describe >>$(h); \
 | 
			
		||||
		fi; \
 | 
			
		||||
		echo " */" >>$(h); \
 | 
			
		||||
		echo "" >>$(h); \
 | 
			
		||||
		./intel_null_state_gen $$gen >>$(h); \
 | 
			
		||||
	done
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user