/** Sets the buffer to use. If prev is not null, it must use the same
buffer, and this object is inserted after it.
- Date is not uploaded immediately, but only when refresh() is called. */
+ Data is not uploaded immediately, but only when refresh() is called. */
void use_buffer(Buffer *, Bufferable *prev = 0);
/** Sets the buffer for the entire chain of objects. */
writer.write_op_decorate(var_id, DECO_SPEC_ID, spec_id);
*spec_var_id = var_id;
}
-
- /* It's unclear what should be done if a specialization constant is
- initialized with anything other than a literal. GLSL doesn't seem to
- prohibit that but SPIR-V says OpSpecConstantOp can't be updated via
- specialization. */
}
else
{