Re: [Mesa3d-dev] Gallium: EXT_gpu_program_parameters

2010-04-05 Thread Brian Paul
Marek Olšák wrote:
 Hi devs,
 
 this extensions is extensively used in Wine for obvious performance 
 reasons and is quite popular in the GL community, therefore we should 
 advertise it. All needed code seems to be already in mesa/main, so 
 unless I overlooked something, the patch below is sufficient. Any 
 comments, please?
 
 -Marek
 
 diff --git a/src/mesa/state_tracker/st_extensions.c 
 b/src/mesa/state_tracker/st_extensions.c
 index 0118c60..ae5e62b 100644
 --- a/src/mesa/state_tracker/st_extensions.c
 +++ b/src/mesa/state_tracker/st_extensions.c
 @@ -183,6 +183,7 @@ void st_init_extensions(struct st_context *st)
 ctx-Extensions.EXT_framebuffer_object = GL_TRUE;
 ctx-Extensions.EXT_framebuffer_multisample = GL_TRUE;
 ctx-Extensions.EXT_fog_coord = GL_TRUE;
 +   ctx-Extensions.EXT_gpu_program_parameters = GL_TRUE;
 ctx-Extensions.EXT_multi_draw_arrays = GL_TRUE;
 ctx-Extensions.EXT_pixel_buffer_object = GL_TRUE;
 ctx-Extensions.EXT_point_parameters = GL_TRUE;
 

Looks good.  There's nothing driver-specific about this extension.

-Brian


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev


[Mesa3d-dev] Gallium: EXT_gpu_program_parameters

2010-04-04 Thread Marek Olšák
Hi devs,

this extensions is extensively used in Wine for obvious performance reasons
and is quite popular in the GL community, therefore we should advertise it.
All needed code seems to be already in mesa/main, so unless I overlooked
something, the patch below is sufficient. Any comments, please?

-Marek

diff --git a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index 0118c60..ae5e62b 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -183,6 +183,7 @@ void st_init_extensions(struct st_context *st)
ctx-Extensions.EXT_framebuffer_object = GL_TRUE;
ctx-Extensions.EXT_framebuffer_multisample = GL_TRUE;
ctx-Extensions.EXT_fog_coord = GL_TRUE;
+   ctx-Extensions.EXT_gpu_program_parameters = GL_TRUE;
ctx-Extensions.EXT_multi_draw_arrays = GL_TRUE;
ctx-Extensions.EXT_pixel_buffer_object = GL_TRUE;
ctx-Extensions.EXT_point_parameters = GL_TRUE;
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev