On Tue, 2017-01-24 at 16:33 -0800, Eric Anholt wrote:
> Timothy Arceri writes:
>
> > From: Timothy Arceri
> >
> > This uses disk_cache.c to write out a serialization of various
> > state that's required in order to successfully load and use a
> > binary written out by a drivers backend, this st
Timothy Arceri writes:
> From: Timothy Arceri
>
> This uses disk_cache.c to write out a serialization of various
> state that's required in order to successfully load and use a
> binary written out by a drivers backend, this state is referred to as
> "metadata" throughout the implementation.
>
>
On Tue, 2017-01-24 at 07:54 +0200, Tapani Pälli wrote:
> Hi Timothy;
>
> On 01/24/2017 01:12 AM, Timothy Arceri wrote:
> > From: Timothy Arceri
> >
>
> 8<
>
> > +
> > +static void
> > +write_uniforms(struct blob *metadata, struct gl_shader_program
> > *prog)
> > +{
> > + blob_write_uint32(me
Hi Timothy;
On 01/24/2017 01:12 AM, Timothy Arceri wrote:
From: Timothy Arceri
8<
+
+static void
+write_uniforms(struct blob *metadata, struct gl_shader_program *prog)
+{
+ blob_write_uint32(metadata, prog->SamplersValidated);
+ blob_write_uint32(metadata, prog->data->NumUniformStorage
From: Timothy Arceri
This uses disk_cache.c to write out a serialization of various
state that's required in order to successfully load and use a
binary written out by a drivers backend, this state is referred to as
"metadata" throughout the implementation.
This initial version is intended to wo