[Mesa-dev] [PATCH 10/11] docs: Update GL3.0 things that got done.

Dave Airlie airlied at gmail.com
Sat Apr 14 00:08:47 PDT 2012


On Sat, Apr 14, 2012 at 7:43 AM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> On 04/13/2012 11:27 PM, Dave Airlie wrote:
>>
>> On Sat, Apr 14, 2012 at 12:38 AM, Eric Anholt<eric at anholt.net>  wrote:
>>>
>>> ---
>>>  docs/GL3.txt |    5 ++---
>>>  1 file changed, 2 insertions(+), 3 deletions(-)
>>>
>>> diff --git a/docs/GL3.txt b/docs/GL3.txt
>>> index 07c6cd9..4393b22 100644
>>> --- a/docs/GL3.txt
>>> +++ b/docs/GL3.txt
>>> @@ -23,7 +23,7 @@ GL_EXT_texture_shared_exponent
>>>  DONE (i965, r600, swrast)
>>>  Float depth buffers (GL_ARB_depth_buffer_float)       DONE (i965, r600)
>>>  Framebuffer objects (GL_ARB_framebuffer_object)       DONE (i965, r300,
>>> r600, swrast)
>>>  Half-float                                            DONE
>>> -Non-normalized Integer texture/framebuffer formats    ~50% done
>>> +Non-normalized Integer texture/framebuffer formats    DONE (i965)
>>>  1D/2D Texture arrays                                  DONE
>>>  Per-buffer blend and masks (GL_EXT_draw_buffers2)     DONE (i965, r600,
>>> swrast)
>>>  GL_EXT_texture_compression_rgtc                       DONE (i965, r300,
>>> r600, swrast)
>>> @@ -34,8 +34,7 @@ sRGB framebuffer format (GL_EXT_framebuffer_sRGB)
>>> DONE (i965, r600)
>>>  glClearBuffer commands                                DONE
>>>  glGetStringi command                                  DONE
>>>  glTexParameterI, glGetTexParameterI commands          DONE
>>> -glVertexAttribI commands                              ~50% done
>>> (converts int
>>> -                                                                 values
>>> to floats)
>>> +glVertexAttribI commands                              DONE (i965)
>>
>>
>> I wasn't aware that had been fixed, I thought the direct API still
>> converted floats to int.
>>
>> Probably should write a piglit test that requires precision so we don't
>> forget.
>>
>> Dave.
>
>
> I'm pretty sure this was fixed and we did have piglit failures for it. Can't
> think of the tests ATM though.  I know Gallium's st_glsl_to_tgsi checks
> ctx->Const.NativeIntegers...that's what that flag is for.

I don't think it was for the direct interface, glVertexAttribI1i and
friends, looking at src/mesa/vbo/vbo_exec_api.c ATTR macro and the
paths into it,
it still appears they are converting to float.

Dave.


More information about the mesa-dev mailing list