Re: [Mesa3d-dev] python and constant buffers

2010-01-21 Thread michal
José Fonseca wrote on 2010-01-20 14:32: On Wed, 2010-01-20 at 03:55 -0800, michal wrote: Jose, How one can upload data to buffers in python state tracker? I am trying to do the following: +cb0_data = [ +0.0, 0.0, 0.0, 0.0, +0.0, 0.0, 0.0, 1.0, +1.0, 1.0,

[Mesa3d-dev] python and constant buffers

2010-01-20 Thread michal
Jose, How one can upload data to buffers in python state tracker? I am trying to do the following: +cb0_data = [ +0.0, 0.0, 0.0, 0.0, +0.0, 0.0, 0.0, 1.0, +1.0, 1.0, 1.0, 1.0, +2.0, 4.0, 8.0, 1.0, +] + +constbuf0 = dev.buffer_create( +16, +

Re: [Mesa3d-dev] python and constant buffers

2010-01-20 Thread José Fonseca
On Wed, 2010-01-20 at 03:55 -0800, michal wrote: Jose, How one can upload data to buffers in python state tracker? I am trying to do the following: +cb0_data = [ +0.0, 0.0, 0.0, 0.0, +0.0, 0.0, 0.0, 1.0, +1.0, 1.0, 1.0, 1.0, +2.0, 4.0, 8.0, 1.0, +