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>
#include "brw_vec4.h"
#include "brw_cfg.h"
+#include "brw_vs.h"
extern "C" {
#include "main/macros.h"
#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;
} /* extern "C" */
#include "brw_vec4.h"
+#include "brw_vs.h"
using namespace brw;
*/
#include "brw_vec4.h"
+#include "brw_vs.h"
#include "glsl/ir_uniform.h"
extern "C" {
#include "main/context.h"
#include "brw_context.h"
#include "brw_vec4.h"
+#include "brw_vs.h"
extern "C" {
#include "program/prog_parameter.h"
#include "program/prog_print.h"
#include <gtest/gtest.h>
#include "brw_vec4.h"
+#include "brw_vs.h"
using namespace brw;