projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: Silence unused parameter warning in _mesa_clear_shader_program_data
[mesa.git]
/
src
/
mesa
/
program
/
program_parser.h
diff --git
a/src/mesa/program/program_parser.h
b/src/mesa/program/program_parser.h
index d689eef7958c25d045366f5b275c40623207a7b1..04c64f446be0c21c95ad5fc60d8ba1030f2e4b18 100644
(file)
--- a/
src/mesa/program/program_parser.h
+++ b/
src/mesa/program/program_parser.h
@@
-23,6
+23,7
@@
#pragma once
#include "main/config.h"
#pragma once
#include "main/config.h"
+#include "program/prog_parameter.h"
struct gl_context;
struct gl_context;
@@
-43,7
+44,7
@@
struct asm_symbol {
unsigned output_binding; /**< Output / result register number. */
/**
unsigned output_binding; /**< Output / result register number. */
/**
- * One of PROGRAM_STATE_VAR
, PROGRAM_LOCAL_PARAM, or PROGRAM_ENV_PARAM
.
+ * One of PROGRAM_STATE_VAR
or PROGRAM_CONSTANT
.
*/
unsigned param_binding_type;
*/
unsigned param_binding_type;
@@
-96,7
+97,7
@@
struct asm_symbol {
struct asm_vector {
unsigned count;
struct asm_vector {
unsigned count;
-
float
data[4];
+
gl_constant_value
data[4];
};
};
@@
-173,6
+174,7
@@
struct asm_parser_state {
unsigned MaxClipPlanes;
unsigned MaxLights;
unsigned MaxProgramMatrices;
unsigned MaxClipPlanes;
unsigned MaxLights;
unsigned MaxProgramMatrices;
+ unsigned MaxDrawBuffers;
/*@}*/
/**
/*@}*/
/**
@@
-189,7
+191,7
@@
struct asm_parser_state {
* multiple ATTRIB statements bind illegal combinations of vertex
* attributes.
*/
* multiple ATTRIB statements bind illegal combinations of vertex
* attributes.
*/
-
unsigned
InputsBound;
+
GLbitfield64
InputsBound;
enum {
invalid_mode = 0,
enum {
invalid_mode = 0,
@@
-212,6
+214,7
@@
struct asm_parser_state {
struct {
unsigned UsesKill:1;
struct {
unsigned UsesKill:1;
+ unsigned UsesDFdy:1;
} fragment;
};
} fragment;
};