Ian Romanick wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Something tells me the following code in draw_update_vertex_fetch is
> wrong, but it's not 100% what the correct code would be.  My best guess
> is that the last index of vertex_element should be 2, but the rest of
> the code is fine.
> 
> ~   case 3:
> ~      if (draw->vertex_element[0].src_format ==
> PIPE_FORMAT_R32G32B32_FLOAT &&
> ~          draw->vertex_element[1].src_format ==
> PIPE_FORMAT_R32G32B32_FLOAT &&
> ~          draw->vertex_element[1].src_format == PIPE_FORMAT_R32G32_FLOAT)
> ~         draw->vertex_fetch.fetch_func = fetch_xyz_rgb_st;
> ~      break;

Yes, but luckily it has no ill affects - it just disables this path... 
There's a similar typo in fetch_xyz_rgb_st that also needs to be fixed.

One moment please...

Keith

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to