i965/nir/vec4: Implement conditional statements (nir_cf_node_if)
[mesa.git] / src / mesa / drivers / dri / i965 / brw_gs.h
index 85228eb5e7871fd6a3af249ec647af2e5ce22ab9..b327c40f1401cc2fa8a92f894edae1b228956cdb 100644 (file)
@@ -26,6 +26,9 @@
 
 #include <stdbool.h>
 
+#include "brw_context.h"
+#include "brw_program.h"
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -34,11 +37,17 @@ struct gl_context;
 struct gl_shader_program;
 struct gl_program;
 
-bool brw_gs_precompile(struct gl_context *ctx,
-                       struct gl_shader_program *shader_prog,
-                       struct gl_program *prog);
 bool brw_gs_prog_data_compare(const void *a, const void *b);
 
+void
+brw_upload_gs_prog(struct brw_context *brw);
+
+bool
+brw_codegen_gs_prog(struct brw_context *brw,
+                    struct gl_shader_program *prog,
+                    struct brw_geometry_program *gp,
+                    struct brw_gs_prog_key *key);
+
 #ifdef __cplusplus
 } /* extern "C" */
 #endif