lavapipe: Make lvp_shader_init non-static
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28187>
This commit is contained in:
committed by
Marge Bot
parent
5d43b8c46e
commit
1a718e0adf
@@ -510,7 +510,7 @@ lvp_spirv_to_nir(struct lvp_pipeline *pipeline, const VkPipelineShaderStageCreat
|
||||
return result;
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
lvp_shader_init(struct lvp_shader *shader, nir_shader *nir)
|
||||
{
|
||||
nir_function_impl *impl = nir_shader_get_entrypoint(nir);
|
||||
|
||||
@@ -745,6 +745,9 @@ VkResult
|
||||
lvp_spirv_to_nir(struct lvp_pipeline *pipeline, const VkPipelineShaderStageCreateInfo *sinfo,
|
||||
nir_shader **out_nir);
|
||||
|
||||
void
|
||||
lvp_shader_init(struct lvp_shader *shader, nir_shader *nir);
|
||||
|
||||
void
|
||||
lvp_shader_optimize(nir_shader *nir);
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user