i965: Move PIPE_CONTROL defines and prototypes to brw_pipe_control.h.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 31 Oct 2017 17:02:02 +0000 (10:02 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 4 Dec 2017 18:02:46 +0000 (10:02 -0800)
commitbfe0f3a7027c3104a6ddc662129091c8093e7410
treeba814a27f2bea30edb80020662415b56bd4c4632
parentd74b1f4809936c63546901eace440709acb5691f
i965: Move PIPE_CONTROL defines and prototypes to brw_pipe_control.h.

We need to be able to emit PIPE_CONTROLs from genX_state_upload.c,
which can't safely include brw_defines.h because it conflicts with
genxml.  Move all the PIPE_CONTROL related stuff together into a
separate header.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_pipe_control.h [new file with mode: 0644]
src/mesa/drivers/dri/i965/genX_state_upload.c