third_party/cairo/src/drm/cairo-drm-i965-shader.c
static inline void
i965_stream_add_pending_relocation (i965_stream_t *stream,
				    uint32_t target_offset,
				    uint32_t read_domains,
				    uint32_t write_domain,
				    uint32_t delta)
{
    int n;

    n = stream->num_pending_relocations++;
    assert (n < stream->max_pending_relocations);

    stream->pending_relocations[n].offset = target_offset;
    stream->pending_relocations[n].read_domains = read_domains;
    stream->pending_relocations[n].write_domain = write_domain;
    stream->pending_relocations[n].delta = delta;
}
/* XXX silly inline due to compiler bug... */
XXX silly inline due to compiler bug
XXX silly inline due to compiler bug
static inline void
i965_stream_add_pending_relocation (i965_stream_t *stream,
				    uint32_t target_offset,
				    uint32_t read_domains,
				    uint32_t write_domain,
				    uint32_t delta)
{
    int n;
    n = stream->num_pending_relocations++;
    assert (n < stream->max_pending_relocations);
    stream->pending_relocations[n].offset = target_offset;
    stream->pending_relocations[n].read_domains = read_domains;
    stream->pending_relocations[n].write_domain = write_domain;
    stream->pending_relocations[n].delta = delta;
}
static inline void i965_stream_add_pending_relocation ( i965_stream_t * stream , uint32_t target_offset , uint32_t read_domains , uint32_t write_domain , uint32_t delta ) { int n ; n = stream -> num_pending_relocations ++ ; assert ( n < stream -> max_pending_relocations ) ; stream -> pending_relocations [ n ] . offset = target_offset ; stream -> pending_relocations [ n ] . read_domains = read_domains ; stream -> pending_relocations [ n ] . write_domain = write_domain ; stream -> pending_relocations [ n ] . delta = delta ; }
XXX silly inline due to compiler bug...
XXX silly inline due to compiler bug ...