<div dir="ltr">On 17 July 2013 02:59, Chris Forbes <span dir="ltr"><<a href="mailto:chrisf@ijw.co.nz" target="_blank">chrisf@ijw.co.nz</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If there's one extension that's going to be useful on non-NVIDIA, it's<br>
the EXT one. Put all its entrypoints there, rather than shooting<br>
ourselves in the foot by putting a bunch of them in NV_gpu_program4 /<br>
NV_vertex_program4.<br>
<br>
Signed-off-by: Chris Forbes <<a href="mailto:chrisf@ijw.co.nz">chrisf@ijw.co.nz</a>><br></blockquote><div><br></div><div>I wish we could expand the piglit-dispatch framework so that we didn't have to do this, and instead we could somehow tell it that these functions are available in both extensions. But everyone I know of is working on more important tasks right now. Considering that, I think this patch is quite reasonable.<br>
<br></div><div>Reviewed-by: Paul Berry <<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---<br>
glapi/gl.spec | 61 ++++++++++++++++++++++++++++-------------------------------<br>
1 file changed, 29 insertions(+), 32 deletions(-)<br>
<br>
diff --git a/glapi/gl.spec b/glapi/gl.spec<br>
index 93c46e9..25d0ba7 100644<br>
--- a/glapi/gl.spec<br>
+++ b/glapi/gl.spec<br>
@@ -28154,8 +28154,12 @@ ProgramParameteriEXT(program, pname, value)<br>
<br>
###############################################################################<br>
#<br>
-# Extension #325<br>
-# NV_vertex_program4 commands<br>
+# Extension #326<br>
+# EXT_gpu_shader4 commands<br>
+#<br>
+# Note: these are also introduced by NV_vertex_program4 / NV_gpu_program4<br>
+# but the EXT* extension is most likely to be useful for non-NVIDIA<br>
+# implementations.<br>
#<br>
###############################################################################<br>
<br>
@@ -28163,7 +28167,7 @@ VertexAttribI1iEXT(index, x)<br>
return void<br>
param index UInt32 in value<br>
param x Int32 in value<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
vectorequiv VertexAttribI1ivEXT<br>
glxvectorequiv VertexAttribI1ivEXT<br>
@@ -28177,7 +28181,7 @@ VertexAttribI2iEXT(index, x, y)<br>
param index UInt32 in value<br>
param x Int32 in value<br>
param y Int32 in value<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
vectorequiv VertexAttribI2ivEXT<br>
glxvectorequiv VertexAttribI2ivEXT<br>
@@ -28192,7 +28196,7 @@ VertexAttribI3iEXT(index, x, y, z)<br>
param x Int32 in value<br>
param y Int32 in value<br>
param z Int32 in value<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
vectorequiv VertexAttribI3ivEXT<br>
glxvectorequiv VertexAttribI3ivEXT<br>
@@ -28208,7 +28212,7 @@ VertexAttribI4iEXT(index, x, y, z, w)<br>
param y Int32 in value<br>
param z Int32 in value<br>
param w Int32 in value<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
vectorequiv VertexAttribI4ivEXT<br>
glxvectorequiv VertexAttribI4ivEXT<br>
@@ -28221,7 +28225,7 @@ VertexAttribI1uiEXT(index, x)<br>
return void<br>
param index UInt32 in value<br>
param x UInt32 in value<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
vectorequiv VertexAttribI1uivEXT<br>
glxvectorequiv VertexAttribI1uivEXT<br>
@@ -28235,7 +28239,7 @@ VertexAttribI2uiEXT(index, x, y)<br>
param index UInt32 in value<br>
param x UInt32 in value<br>
param y UInt32 in value<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
vectorequiv VertexAttribI2uivEXT<br>
glxvectorequiv VertexAttribI2uivEXT<br>
@@ -28250,7 +28254,7 @@ VertexAttribI3uiEXT(index, x, y, z)<br>
param x UInt32 in value<br>
param y UInt32 in value<br>
param z UInt32 in value<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
vectorequiv VertexAttribI3uivEXT<br>
glxvectorequiv VertexAttribI3uivEXT<br>
@@ -28266,7 +28270,7 @@ VertexAttribI4uiEXT(index, x, y, z, w)<br>
param y UInt32 in value<br>
param z UInt32 in value<br>
param w UInt32 in value<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
vectorequiv VertexAttribI4uivEXT<br>
glxvectorequiv VertexAttribI4uivEXT<br>
@@ -28279,7 +28283,7 @@ VertexAttribI1ivEXT(index, v)<br>
return void<br>
param index UInt32 in value<br>
param v Int32 in array [1]<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
extension soft WINSOFT NV10<br>
glfflags ignore<br>
@@ -28290,7 +28294,7 @@ VertexAttribI2ivEXT(index, v)<br>
return void<br>
param index UInt32 in value<br>
param v Int32 in array [2]<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
extension soft WINSOFT NV10<br>
glfflags ignore<br>
@@ -28301,7 +28305,7 @@ VertexAttribI3ivEXT(index, v)<br>
return void<br>
param index UInt32 in value<br>
param v Int32 in array [3]<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
extension soft WINSOFT NV10<br>
glfflags ignore<br>
@@ -28312,7 +28316,7 @@ VertexAttribI4ivEXT(index, v)<br>
return void<br>
param index UInt32 in value<br>
param v Int32 in array [4]<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
extension soft WINSOFT NV10<br>
glfflags ignore<br>
@@ -28323,7 +28327,7 @@ VertexAttribI1uivEXT(index, v)<br>
return void<br>
param index UInt32 in value<br>
param v UInt32 in array [1]<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
extension soft WINSOFT NV10<br>
glfflags ignore<br>
@@ -28334,7 +28338,7 @@ VertexAttribI2uivEXT(index, v)<br>
return void<br>
param index UInt32 in value<br>
param v UInt32 in array [2]<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
extension soft WINSOFT NV10<br>
glfflags ignore<br>
@@ -28345,7 +28349,7 @@ VertexAttribI3uivEXT(index, v)<br>
return void<br>
param index UInt32 in value<br>
param v UInt32 in array [3]<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
extension soft WINSOFT NV10<br>
glfflags ignore<br>
@@ -28356,7 +28360,7 @@ VertexAttribI4uivEXT(index, v)<br>
return void<br>
param index UInt32 in value<br>
param v UInt32 in array [4]<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
extension soft WINSOFT NV10<br>
glfflags ignore<br>
@@ -28367,7 +28371,7 @@ VertexAttribI4bvEXT(index, v)<br>
return void<br>
param index UInt32 in value<br>
param v Int8 in array [4]<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
extension soft WINSOFT NV10<br>
glfflags ignore<br>
@@ -28378,7 +28382,7 @@ VertexAttribI4svEXT(index, v)<br>
return void<br>
param index UInt32 in value<br>
param v Int16 in array [4]<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
extension soft WINSOFT NV10<br>
glfflags ignore<br>
@@ -28389,7 +28393,7 @@ VertexAttribI4ubvEXT(index, v)<br>
return void<br>
param index UInt32 in value<br>
param v UInt8 in array [4]<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
extension soft WINSOFT NV10<br>
glfflags ignore<br>
@@ -28400,7 +28404,7 @@ VertexAttribI4usvEXT(index, v)<br>
return void<br>
param index UInt32 in value<br>
param v UInt16 in array [4]<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
beginend allow-inside<br>
extension soft WINSOFT NV10<br>
glfflags ignore<br>
@@ -28414,7 +28418,7 @@ VertexAttribIPointerEXT(index, size, type, stride, pointer)<br>
param type VertexAttribEnum in value<br>
param stride SizeI in value<br>
param pointer Void in array [COMPSIZE(size/type/stride)] retained<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
dlflags notlistable<br>
extension soft WINSOFT NV10<br>
glfflags ignore<br>
@@ -28426,7 +28430,7 @@ GetVertexAttribIivEXT(index, pname, params)<br>
param index UInt32 in value<br>
param pname VertexAttribEnum in value<br>
param params Int32 out array [1]<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
dlflags notlistable<br>
extension soft WINSOFT NV10<br>
glfflags ignore<br>
@@ -28438,20 +28442,13 @@ GetVertexAttribIuivEXT(index, pname, params)<br>
param index UInt32 in value<br>
param pname VertexAttribEnum in value<br>
param params UInt32 out array [1]<br>
- category NV_vertex_program4<br>
+ category EXT_gpu_shader4<br>
dlflags notlistable<br>
extension soft WINSOFT NV10<br>
glfflags ignore<br>
glxflags ignore<br>
alias GetVertexAttribIuiv<br>
<br>
-###############################################################################<br>
-#<br>
-# Extension #326<br>
-# EXT_gpu_shader4 commands<br>
-#<br>
-###############################################################################<br>
-<br>
GetUniformuivEXT(program, location, params)<br>
return void<br>
param program UInt32 in value<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.3.2<br>
<br>
_______________________________________________<br>
Piglit mailing list<br>
<a href="mailto:Piglit@lists.freedesktop.org">Piglit@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/piglit" target="_blank">http://lists.freedesktop.org/mailman/listinfo/piglit</a><br>
</font></span></blockquote></div><br></div></div>