On Fri, Feb 5, 2016 at 1:11 AM, Jan Vesely <[email protected]> wrote: > On Thu, 2016-02-04 at 15:56 -0500, Jan Vesely wrote: >> r600_compute_buffer_alloc_vram uses pipe_buffer_create, which sets >> format to >> PIPE_FORMAT_R8_UNORM > > RFC: > Looks like more is needed to fix this. the code expects R32 format. > Do we change the one used in pipe_buffer_create? > or just remove the assertion? > or is there a way to convert the format (other than plain format =)
Buffer resources are untyped and pipe_resource::format should be ignored for them. For drawing, only the type from pipe_sampler_view and pipe_surface matters. Marek _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
