diff options
author | Timothy Arceri <[email protected]> | 2016-11-22 21:14:14 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-01-23 14:48:04 +1100 |
commit | cbeba6bd48da2cbe0074cc59a857e0248e94b8fe (patch) | |
tree | 124ba5e8edd930804c95ac7a1ed1d2f22356b92b /src/mesa/drivers/dri/i965/brw_tcs.c | |
parent | 64e201ab8f08daa2c189ab615a4096daf60c27c5 (diff) |
mesa/glsl/i965: set and get tes layouts directly to and from shader_info
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_tcs.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_tcs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_tcs.c b/src/mesa/drivers/dri/i965/brw_tcs.c index cafa4b4b411..858ecf99a84 100644 --- a/src/mesa/drivers/dri/i965/brw_tcs.c +++ b/src/mesa/drivers/dri/i965/brw_tcs.c @@ -386,10 +386,10 @@ brw_tcs_precompile(struct gl_context *ctx, struct brw_program *btep; if (tes) { btep = brw_program(tes->Program); - key.tes_primitive_mode = tes->info.TessEval.PrimitiveMode; + key.tes_primitive_mode = tes->Program->info.tess.primitive_mode; key.quads_workaround = brw->gen < 9 && - tes->info.TessEval.PrimitiveMode == GL_QUADS && - tes->info.TessEval.Spacing == TESS_SPACING_EQUAL; + tes->Program->info.tess.primitive_mode == GL_QUADS && + tes->Program->info.tess.spacing == TESS_SPACING_EQUAL; } else { btep = NULL; key.tes_primitive_mode = GL_TRIANGLES; |