summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_context.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2019-06-27 15:06:30 +1000
committerKenneth Graunke <[email protected]>2019-08-01 16:12:27 -0700
commit00b5bf2d729f6c23525c4496552036c71d05479e (patch)
tree8d1f6ba9f05b635899183cf77dafd12909eb3a9a /src/gallium/drivers/iris/iris_context.h
parent70dc017aec72b80e7fd674b90eec4332807e3619 (diff)
iris: add support for gl_ClipVertex in geometry shaders
This will enable us to support the OpenGL compat profile. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r--src/gallium/drivers/iris/iris_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h
index 16946582dcb..ed8ffc008aa 100644
--- a/src/gallium/drivers/iris/iris_context.h
+++ b/src/gallium/drivers/iris/iris_context.h
@@ -468,12 +468,15 @@ struct iris_vtable {
const struct brw_vue_map *vue_map);
void (*populate_vs_key)(const struct iris_context *ice,
const struct shader_info *info,
+ gl_shader_stage last_stage,
struct brw_vs_prog_key *key);
void (*populate_tcs_key)(const struct iris_context *ice,
struct brw_tcs_prog_key *key);
void (*populate_tes_key)(const struct iris_context *ice,
struct brw_tes_prog_key *key);
void (*populate_gs_key)(const struct iris_context *ice,
+ const struct shader_info *info,
+ gl_shader_stage last_stage,
struct brw_gs_prog_key *key);
void (*populate_fs_key)(const struct iris_context *ice,
const struct shader_info *info,