i965: Stop including brw_vs.h from brw_vec4.h.

This is backwards from what we are going to want in the long term, which is:

- brw_vec4.h declares general-purpose vec4 infrastructure needed by
  both VS and GS
- brw_vs.h includes brw_vec4.h and adds VS-specific parts.
- brw_gs.h includes brw_vec4.h and adds GS-specific parts.

Note that at the moment brw_vec.h contains a fair amount of
VS-specific declarations--I plan to address that in a later patch.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Paul Berry 2013-03-20 11:54:33 -07:00
parent 52bac6e4ff
commit 5fb13d871e
6 changed files with 9 additions and 1 deletions

View file

@ -23,6 +23,7 @@
#include "brw_vec4.h"
#include "brw_cfg.h"
#include "brw_vs.h"
extern "C" {
#include "main/macros.h"

View file

@ -30,13 +30,16 @@
#include "program/hash_table.h"
extern "C" {
#include "brw_vs.h"
#include "brw_context.h"
#include "brw_eu.h"
};
#include "glsl/ir.h"
struct brw_vec4_compile;
struct brw_vs_compile;
struct brw_vec4_prog_key;
namespace brw {
class dst_reg;

View file

@ -27,6 +27,7 @@ extern "C" {
} /* extern "C" */
#include "brw_vec4.h"
#include "brw_vs.h"
using namespace brw;

View file

@ -22,6 +22,7 @@
*/
#include "brw_vec4.h"
#include "brw_vs.h"
#include "glsl/ir_uniform.h"
extern "C" {
#include "main/context.h"

View file

@ -29,6 +29,7 @@
#include "brw_context.h"
#include "brw_vec4.h"
#include "brw_vs.h"
extern "C" {
#include "program/prog_parameter.h"
#include "program/prog_print.h"

View file

@ -23,6 +23,7 @@
#include <gtest/gtest.h>
#include "brw_vec4.h"
#include "brw_vs.h"
using namespace brw;