[Mesa-dev] [PATCH 0/3] Move libdrm dependencies out of backend compiler

Jordan Justen jordan.l.justen at intel.com
Mon Sep 14 15:34:23 PDT 2015


On 2015-09-09 10:44:10, Kristian Høgsberg Kristensen wrote:
> In trying to separate the backend compiler from the core driver, I ran
> into a couple of inconsistencies with how the compute shader code is
> split across files. First patch moves code around to follow our
> convention. The last two patches moves fs precompile and perf debug
> around to move libdrm dependencies out of the compiler.
> 
> Kristian Høgsberg Kristensen (3):
>   i965: Move compute shader code around

Hopefully the recently pushed code doesn't cause you too much hassle
for re-doing this patch.

>   i965: Move brw_fs_precompile() to brw_wm.c
>   i965: Move perf_debug code to brw_codegen_*_prog()

Series Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

> 
>  src/mesa/drivers/dri/i965/Makefile.sources |   3 +-
>  src/mesa/drivers/dri/i965/brw_cs.c         | 206 +++++++++++
>  src/mesa/drivers/dri/i965/brw_cs.cpp       | 535 -----------------------------
>  src/mesa/drivers/dri/i965/brw_cs.h         |   9 +
>  src/mesa/drivers/dri/i965/brw_fs.cpp       | 132 +++----
>  src/mesa/drivers/dri/i965/brw_vec4.cpp     |  19 -
>  src/mesa/drivers/dri/i965/brw_vs.c         |  29 +-
>  src/mesa/drivers/dri/i965/brw_wm.c         |  90 ++++-
>  src/mesa/drivers/dri/i965/gen7_cs_state.c  | 269 +++++++++++++++
>  9 files changed, 664 insertions(+), 628 deletions(-)
>  create mode 100644 src/mesa/drivers/dri/i965/brw_cs.c
>  delete mode 100644 src/mesa/drivers/dri/i965/brw_cs.cpp
>  create mode 100644 src/mesa/drivers/dri/i965/gen7_cs_state.c
> 
> -- 
> 2.5.1
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list