mesa: tidy up ir_to_mesa.{cpp,h} includes, comments, etc

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14066>
This commit is contained in:
Timothy Arceri 2021-12-05 13:49:43 +11:00 committed by Marge Bot
parent 79abf6a17e
commit 5cad5db97b
2 changed files with 0 additions and 27 deletions

View File

@ -23,34 +23,14 @@
* DEALINGS IN THE SOFTWARE.
*/
/**
* \file ir_to_mesa.cpp
*
* Translate GLSL IR to Mesa's gl_program representation.
*/
#include <stdio.h>
#include "main/macros.h"
#include "main/mtypes.h"
#include "main/shaderapi.h"
#include "main/shaderobj.h"
#include "main/uniforms.h"
#include "main/glspirv.h"
#include "compiler/glsl/ast.h"
#include "compiler/glsl/ir.h"
#include "compiler/glsl/ir_expression_flattening.h"
#include "compiler/glsl/ir_optimization.h"
#include "compiler/glsl/ir_uniform.h"
#include "compiler/glsl/glsl_parser_extras.h"
#include "compiler/glsl_types.h"
#include "compiler/glsl/linker.h"
#include "compiler/glsl/program.h"
#include "compiler/glsl/shader_cache.h"
#include "program/prog_instruction.h"
#include "program/prog_optimize.h"
#include "program/prog_print.h"
#include "program/program.h"
#include "program/prog_parameter.h"
extern "C" {

View File

@ -24,22 +24,15 @@
#ifndef IR_TO_MESA_H
#define IR_TO_MESA_H
#include "main/glheader.h"
#ifdef __cplusplus
extern "C" {
#endif
struct gl_context;
struct gl_program;
struct gl_shader;
struct gl_shader_program;
struct gl_linked_shader;
struct gl_program_parameter_list;
void _mesa_glsl_link_shader(struct gl_context *ctx, struct gl_shader_program *prog);
#ifdef __cplusplus
}
#endif