mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
mesa: minor reformatting, add const to gl_external_samplers()
This function should probably be moved elsewhere, too. Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
parent
ad5f407b61
commit
9862a8403e
1 changed files with 4 additions and 1 deletions
|
|
@ -2532,7 +2532,9 @@ struct gl_linked_shader
|
|||
struct glsl_symbol_table *symbols;
|
||||
};
|
||||
|
||||
static inline GLbitfield gl_external_samplers(struct gl_program *prog)
|
||||
|
||||
static inline GLbitfield
|
||||
gl_external_samplers(const struct gl_program *prog)
|
||||
{
|
||||
GLbitfield external_samplers = 0;
|
||||
GLbitfield mask = prog->SamplersUsed;
|
||||
|
|
@ -2546,6 +2548,7 @@ static inline GLbitfield gl_external_samplers(struct gl_program *prog)
|
|||
return external_samplers;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Compile status enum. compile_skipped is used to indicate the compile
|
||||
* was skipped due to the shader matching one that's been seen before by
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue