mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
d3dcompiler_43: Make asmshader_error() and set_rel_reg() static.
This commit is contained in:
parent
330520980a
commit
7d9cd71db7
@ -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);
|
||||
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
|
||||
* ex. c2[ 4 ] */
|
||||
reg->regnum += rel->additional_offset;
|
||||
|
Loading…
Reference in New Issue
Block a user