From 224cf2906a8f38ce47411afc93a223ac0e41795f Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 17 Apr 2017 13:01:52 +1000 Subject: radv/ac: add initial pre-pass for shader info gathering There is some radv specific info we need to gather from shaders before we get into converting nir->llvm, so we can make better decisions especially around user sgpr allocation. This is just an initial placeholder to gather if sample positions are required in the frag shader. Reviewed-by: Bas Nieuwenhuizen Signed-off-by: Dave Airlie --- src/amd/Makefile.sources | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/amd/Makefile.sources') diff --git a/src/amd/Makefile.sources b/src/amd/Makefile.sources index 816e7e4c993..38dd48b8d3c 100644 --- a/src/amd/Makefile.sources +++ b/src/amd/Makefile.sources @@ -45,6 +45,8 @@ AMD_COMPILER_FILES = \ common/ac_llvm_build.c \ common/ac_llvm_build.h \ common/ac_llvm_helper.cpp \ + common/ac_shader_info.c \ + common/ac_shader_info.h \ common/ac_llvm_util.c \ common/ac_llvm_util.h -- cgit v1.2.1