Commit 7d9cd71d authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

d3dcompiler_43: Make asmshader_error() and set_rel_reg() static.

parent 33052098
...@@ -71,12 +71,12 @@ void asmparser_message(struct asm_parser *ctx, const char *fmt, ...) { ...@@ -71,12 +71,12 @@ void asmparser_message(struct asm_parser *ctx, const char *fmt, ...) {
} }
} }
void asmshader_error(char const *s) { static void asmshader_error(char const *s) {
asmparser_message(&asm_ctx, "Line %u: Error \"%s\" from bison\n", asm_ctx.line_no, s); asmparser_message(&asm_ctx, "Line %u: Error \"%s\" from bison\n", asm_ctx.line_no, s);
set_parse_status(&asm_ctx, PARSE_ERR); set_parse_status(&asm_ctx, PARSE_ERR);
} }
void set_rel_reg(struct shader_reg *reg, struct rel_reg *rel) { static void set_rel_reg(struct shader_reg *reg, struct rel_reg *rel) {
/* We can have an additional offset without true relative addressing /* We can have an additional offset without true relative addressing
* ex. c2[ 4 ] */ * ex. c2[ 4 ] */
reg->regnum += rel->additional_offset; reg->regnum += rel->additional_offset;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment