diff options
author | Timothy Arceri <[email protected]> | 2016-10-19 11:59:12 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-10-26 14:29:36 +1100 |
commit | 92f77e9c01085c6babe6ce80dfe4e0e7abab61a1 (patch) | |
tree | ecea28bd6506ea75c1e980ea688f684a97822226 /src/mesa/state_tracker/st_program.c | |
parent | 9045ddcfe4ed2ecc6220db69dc33d6049956b99b (diff) |
i965/mesa/st: eliminate gl_geometry_program
We now get all the gs metadata from shader_info.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r-- | src/mesa/state_tracker/st_program.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index 0a805683213..9f90f6b3cc3 100644 --- a/src/mesa/state_tracker/st_program.c +++ b/src/mesa/state_tracker/st_program.c @@ -1521,15 +1521,15 @@ st_translate_geometry_program(struct st_context *st, return false; ureg_property(ureg, TGSI_PROPERTY_GS_INPUT_PRIM, - stgp->Base.Base.info.gs.input_primitive); + stgp->Base.info.gs.input_primitive); ureg_property(ureg, TGSI_PROPERTY_GS_OUTPUT_PRIM, - stgp->Base.Base.info.gs.output_primitive); + stgp->Base.info.gs.output_primitive); ureg_property(ureg, TGSI_PROPERTY_GS_MAX_OUTPUT_VERTICES, - stgp->Base.Base.info.gs.vertices_out); + stgp->Base.info.gs.vertices_out); ureg_property(ureg, TGSI_PROPERTY_GS_INVOCATIONS, - stgp->Base.Base.info.gs.invocations); + stgp->Base.info.gs.invocations); - st_translate_program_common(st, &stgp->Base.Base, stgp->glsl_to_tgsi, ureg, + st_translate_program_common(st, &stgp->Base, stgp->glsl_to_tgsi, ureg, PIPE_SHADER_GEOMETRY, &stgp->tgsi); free_glsl_to_tgsi_visitor(stgp->glsl_to_tgsi); |