glsl: make packed varying helper needs_lowering() external
We will use this helper to correctly calculate xfb offsets in the following patch. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18175>
This commit is contained in:

committed by
Marge Bot

parent
ff7c59672f
commit
04e7ed8323
@@ -113,6 +113,11 @@ void gl_nir_link_assign_xfb_resources(const struct gl_constants *consts,
|
||||
|
||||
bool gl_nir_link_uniform_blocks(struct gl_shader_program *prog);
|
||||
|
||||
bool lower_packed_varying_needs_lowering(nir_shader *shader, nir_variable *var,
|
||||
bool xfb_enabled,
|
||||
bool disable_xfb_packing,
|
||||
bool disable_varying_packing);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user