summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2021-05-04 11:05:19 +1000
committerMarge Bot <eric+marge@anholt.net>2021-05-04 03:39:45 +0000
commitac33e2b66be40d7aeb5cc6f0d82a1c8a48509b1f (patch)
tree403bd8138069c00f9b5d462ab6c9918457deae6d /src/mesa/drivers
parent7c52a79057bc101b661a208aa7b2c5b53df1a37a (diff)
intel: move brw_ff_gs_prog_key/data to compiler.
Step one to moving the ff_gs emitter to compiler for sharing, move BRW_MAX_SOL_BINDINGS up so the keys are in same area Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9721>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h12
-rw-r--r--src/mesa/drivers/dri/i965/brw_ff_gs.h31
2 files changed, 0 insertions, 43 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index b39c4a7d76d..506cbddd62f 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -336,18 +336,6 @@ struct brw_program {
bool compiled_once;
};
-
-struct brw_ff_gs_prog_data {
- GLuint urb_read_length;
- GLuint total_grf;
-
- /**
- * Gfx6 transform feedback: Amount by which the streaming vertex buffer
- * indices should be incremented each time the GS is invoked.
- */
- unsigned svbi_postincrement_value;
-};
-
/** Number of texture sampler units */
#define BRW_MAX_TEX_UNIT 32
diff --git a/src/mesa/drivers/dri/i965/brw_ff_gs.h b/src/mesa/drivers/dri/i965/brw_ff_gs.h
index 351bdb77097..7ab0b1d3eb3 100644
--- a/src/mesa/drivers/dri/i965/brw_ff_gs.h
+++ b/src/mesa/drivers/dri/i965/brw_ff_gs.h
@@ -39,37 +39,6 @@
#define MAX_GS_VERTS (4)
-struct brw_ff_gs_prog_key {
- GLbitfield64 attrs;
-
- /**
- * Hardware primitive type being drawn, e.g. _3DPRIM_TRILIST.
- */
- GLuint primitive:8;
-
- GLuint pv_first:1;
- GLuint need_gs_prog:1;
-
- /**
- * Number of varyings that are output to transform feedback.
- */
- GLuint num_transform_feedback_bindings:7; /* 0-BRW_MAX_SOL_BINDINGS */
-
- /**
- * Map from the index of a transform feedback binding table entry to the
- * gl_varying_slot that should be streamed out through that binding table
- * entry.
- */
- unsigned char transform_feedback_bindings[BRW_MAX_SOL_BINDINGS];
-
- /**
- * Map from the index of a transform feedback binding table entry to the
- * swizzles that should be used when streaming out data through that
- * binding table entry.
- */
- unsigned char transform_feedback_swizzles[BRW_MAX_SOL_BINDINGS];
-};
-
struct brw_ff_gs_compile {
struct brw_codegen func;
struct brw_ff_gs_prog_key key;