summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/nir/nir.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index 11add65988c..e2bd2bfa025 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -139,7 +139,7 @@ typedef enum {
* ir_variable - it should be easy to translate between the two.
*/
-typedef struct {
+typedef struct nir_variable {
struct exec_node node;
/**
@@ -349,7 +349,7 @@ typedef struct {
#define nir_foreach_variable(var, var_list) \
foreach_list_typed(nir_variable, var, node, var_list)
-typedef struct {
+typedef struct nir_register {
struct exec_node node;
unsigned num_components; /** < number of vector components */
@@ -443,7 +443,7 @@ nir_instr_is_last(nir_instr *instr)
return exec_node_is_tail_sentinel(exec_node_get_next(&instr->node));
}
-typedef struct {
+typedef struct nir_ssa_def {
/** for debugging only, can be NULL */
const char* name;