Commit beba23ea authored by Jesse Natalie's avatar Jesse Natalie Committed by Erik Faye-Lund
Browse files

nir/vtn: Use int type instead of glsl event type

parent d7249a24
...@@ -1600,7 +1600,7 @@ vtn_handle_type(struct vtn_builder *b, SpvOp opcode, ...@@ -1600,7 +1600,7 @@ vtn_handle_type(struct vtn_builder *b, SpvOp opcode,
case SpvOpTypeEvent: case SpvOpTypeEvent:
val->type->base_type = vtn_base_type_event; val->type->base_type = vtn_base_type_event;
val->type->type = glsl_event_type(); val->type->type = glsl_int_type();
break; break;
case SpvOpTypeOpaque: case SpvOpTypeOpaque:
......
...@@ -1087,7 +1087,6 @@ _vtn_variable_load_store(struct vtn_builder *b, bool load, ...@@ -1087,7 +1087,6 @@ _vtn_variable_load_store(struct vtn_builder *b, bool load,
case GLSL_TYPE_FLOAT16: case GLSL_TYPE_FLOAT16:
case GLSL_TYPE_BOOL: case GLSL_TYPE_BOOL:
case GLSL_TYPE_DOUBLE: case GLSL_TYPE_DOUBLE:
case GLSL_TYPE_EVENT:
if (glsl_type_is_vector_or_scalar(ptr->type->type)) { if (glsl_type_is_vector_or_scalar(ptr->type->type)) {
/* We hit a vector or scalar; go ahead and emit the load[s] */ /* We hit a vector or scalar; go ahead and emit the load[s] */
nir_deref_instr *deref = vtn_pointer_to_deref(b, ptr); nir_deref_instr *deref = vtn_pointer_to_deref(b, ptr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment