panfrost: Route stack_size from compiler
We'll need it in pan_context.c Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
440cd835de
commit
7597015b85
|
@ -111,6 +111,7 @@ panfrost_shader_compile(
|
|||
state->writes_point_size = program.writes_point_size;
|
||||
state->reads_point_coord = false;
|
||||
state->helper_invocations = s->info.fs.needs_helper_invocations;
|
||||
state->stack_size = program.tls_size;
|
||||
|
||||
if (outputs_written)
|
||||
*outputs_written = s->info.outputs_written;
|
||||
|
|
|
@ -214,6 +214,7 @@ struct panfrost_shader_state {
|
|||
bool reads_point_coord;
|
||||
bool reads_face;
|
||||
bool reads_frag_coord;
|
||||
unsigned stack_size;
|
||||
|
||||
struct mali_attr_meta varyings[PIPE_MAX_ATTRIBS];
|
||||
gl_varying_slot varyings_loc[PIPE_MAX_ATTRIBS];
|
||||
|
|
Loading…
Reference in New Issue