mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 15:20:17 +01:00
st/glsl_to_tgsi: make undef_src and undef_dst const
This commit is contained in:
parent
6cbb8f99d2
commit
28ec0fc7b8
1 changed files with 2 additions and 2 deletions
|
|
@ -346,8 +346,8 @@ public:
|
|||
int type; /**< GL_DOUBLE, GL_FLOAT, GL_INT, GL_BOOL, or GL_UNSIGNED_INT */
|
||||
};
|
||||
|
||||
static st_src_reg undef_src = st_src_reg(PROGRAM_UNDEFINED, 0, GLSL_TYPE_ERROR);
|
||||
static st_dst_reg undef_dst = st_dst_reg(PROGRAM_UNDEFINED, SWIZZLE_NOOP, GLSL_TYPE_ERROR);
|
||||
static const st_src_reg undef_src = st_src_reg(PROGRAM_UNDEFINED, 0, GLSL_TYPE_ERROR);
|
||||
static const st_dst_reg undef_dst = st_dst_reg(PROGRAM_UNDEFINED, SWIZZLE_NOOP, GLSL_TYPE_ERROR);
|
||||
|
||||
struct inout_decl {
|
||||
unsigned mesa_index;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue