i965: Move IR object definitions to separate header files.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 5 Feb 2015 23:11:18 +0000 (01:11 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 10 Feb 2015 14:05:50 +0000 (16:05 +0200)
commitbfbb0e84e11e06af3d751701f157a21915976ca1
tree718a2aab4abd08bd6bb4ba23419ce652be315bdc
parent447879eb88b8df41ad32cf4406cc636b112b72d9
i965: Move IR object definitions to separate header files.

One should be able to manipulate i965 IR without pulling the whole
FS/VEC4 visitor classes -- Optimization passes and other
transformations would ideally be visitor-agnostic.  Among other issues
this avoids a circular dependency between the header file where such
visitor-agnostic code will be defined and the main FS/VEC4 header
where both IR (layer below) and visitor (layer above) happen to be
defined.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_ir_fs.h [new file with mode: 0644]
src/mesa/drivers/dri/i965/brw_ir_vec4.h [new file with mode: 0644]
src/mesa/drivers/dri/i965/brw_vec4.h