Mesa (master): 37 new commits

Ian Romanick idr at kemper.freedesktop.org
Mon Jan 20 19:33:22 UTC 2014


URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2352a88ed6595f1138de23a96f3152cf7a76778
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jan 10 16:07:55 2014 -0800

    docs: Note that GL_ARB_viewport_array is done on i965
    
    At least for GEN7+, anyway.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7837f425e7242bfc12f3d6d57d343609071ea6aa
Author: Courtney Goeltzenleuchter <courtney at LunarG.com>
Date:   Wed Nov 13 13:15:19 2013 -0700

    i965: Enable ARB_viewport_array
    
    v2 (idr): Only enable the extension on GEN7+ w/core profile because it
    requires geometry shaders.
    
    v3 (idr): Add some casting to fix setting of ViewportBounds.Min.
    Negating an unsigned value, then casting to float doesn't do what you
    might think it does.
    
    Signed-off-by: Courtney Goeltzenleuchter <courtney at LunarG.com>
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d3ee8ba3469a6c143f5817e35a5200e9c836de32
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jan 8 12:14:49 2014 -0800

    i965: Consider all viewports before enabling guardband clipping
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=bdff9a6e47c42c0ba8cec2d8b5c5438c0068f874
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jan 17 15:28:23 2014 -0800

    i965: Consider only the scissor rectangle for viewport 0 for clears
    
    noop_scissor (correctly) only examines the scissor rectangle for
    viewport 0.  Therefore, it should only be called when that scissor
    rectangle is enabled.
    
    v2: Remove spurious change to radeon code.  Noticed by Ken.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c27f1d47a4e084022a689f333f4d91708840a0e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jan 8 12:14:11 2014 -0800

    i965: Set all the supported scissor rectangles for GEN7
    
    Currently MaxViewports is still 1, so this won't affect any change.
    
    v2: Minor code reformatting suggested by Ken.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a2b946cb3516eb3fd475e6ed509b3f09eb36d4b6
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jan 8 12:10:41 2014 -0800

    mesa: Refactor bounding-box calculation out of _mesa_update_draw_buffer_bounds
    
    Drivers that currently use _Xmin and friends to set their scissor
    rectangle will need to use this code directly once they are updated for
    GL_ARB_viewport_array.
    
    v2: Use different bit-test idiom and fix mixed tabs and spaces.  Both
    were suggested by Ken.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d989c4b13429c5375303828ec5a20daf9f127753
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Nov 5 22:50:02 2013 -0800

    i965: Set all the supported viewports for GEN7
    
    Currently MaxViewports is still 1, so this won't affect any change.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fceb8b55c078b07e71f862ac135c2c339ef53e98
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Nov 5 12:19:23 2013 -0800

    i965: Emit writes to viewport index
    
    This variable is handled in a fashion identical to gl_Layer.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=37f65b07512c0291580811689f65bfcbcc489231
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Fri Jan 10 13:43:24 2014 -0800

    i965: Set the maximum VPIndex
    
    At various stages the hardware clamps the gl_ViewportIndex to these
    values.  Setting them to zero effectively makes gl_ViewportIndex be
    ignored.  This is acutally useful in blorp (so that we don't have to
    modify all of the viewport / scissor state).
    
    v2: Use INTEL_MASK to create GEN6_CLIP_MAX_VP_INDEX_MASK.  Suggested by
    Ken.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ef16befd0068544287c5f327a77fe8af6aee329
Author: Courtney Goeltzenleuchter <courtney at LunarG.com>
Date:   Thu Nov 14 10:10:47 2013 -0700

    mesa: Add ARB_viewport_array plumbing
    
    Define API connections to extension entry points added in previous
    commits. Update entry points to use floating point arguments as
    required by the extension.
    Add get tokens for ARB_viewport_array state.
    
    v2: Include review feedback.
    
    v3 (idr): Fix 'make check'.  Add missing Get infrastructure (some was
    culled from other pathces).
    
    Signed-off-by: Courtney Goeltzenleuchter <courtney at LunarG.com>
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2eefb06aa3522920548046ee0c1be59428649ed
Author: Courtney Goeltzenleuchter <courtney at LunarG.com>
Date:   Wed Nov 13 11:11:39 2013 -0700

    glsl: Add gl_ViewportIndex built-in variable
    
    v2 (idr): Fix copy-and-paste bug... s/LAYER/VIEWPORT/
    
    Signed-off-by: Courtney Goeltzenleuchter <courtney at LunarG.com>
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5439964270e966aa53a2c1f58969f23555bfa9ad
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jan 8 08:32:03 2014 -0800

    glsl: Add extension infrastructure for ARB_viewport_array
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3815264d7d07e8dd216674a32568daa55aeed680
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Nov 5 12:18:43 2013 -0800

    mesa: Add varying slot for viewport index
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=86231c4ab3ceb471b3d44978e7d56f167bafe34f
Author: Courtney Goeltzenleuchter <courtney at LunarG.com>
Date:   Thu Nov 14 10:06:59 2013 -0700

    mesa: Add new viewport and depth-range entry points for GL_ARB_viewport_array
    
    v2 (idr): Use set_viewport_no_notify / set_depth_range_no_notify (and
    manually notify the driver) instead of calling _mesa_set_viewporti /
    _mesa_set_depthrangei.  Refactor bodies of _mesa_ViewportIndexed and
    _mesa_ViewportIndexedv into a shared function.  Remove spurious CLAMP
    calls in _mesa_DepthRangeArrayv and _mesa_DepthRangeIndexed.
    
    v3 (idr): Add some missing return-statements after calls to _mesa_error.
    
    v4 (idr): Only perform the ViewportBounds.Min / ViewportBounds.Max
    clamping in set_viewport_no_notify if GL_ARB_viewport_array is enabled.
    Otherwise the driver may not have set ViewportBounds, and the clamping
    will do bad things.
    
    Signed-off-by: Courtney Goeltzenleuchter <courtney at LunarG.com>
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a7baa68a8559d7889c0b68adfcda53f4575ee98
Author: Courtney Goeltzenleuchter <courtney at LunarG.com>
Date:   Tue Nov 12 12:58:40 2013 -0700

    mesa: Add new scissor entry points for GL_ARB_viewport_array
    
    v2 (idr): Use set_scissor_no_notify (and manually notify the driver)
    instead of calling _mesa_set_scissori.  Refactory bodies of
    _mesa_ScissorIndexed and _mesa_ScissorIndexedv into a shared function.
    Perform parameter validation in the same order in all three functions.
    Pull MaxViewports comparison fix (in _mesa_ScissorArrayv) from the next
    patch to this patch.
    
    Signed-off-by: Courtney Goeltzenleuchter <courtney at LunarG.com>
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=917db0bc3dfdec1536018d96aab261e485b8d872
Author: Courtney Goeltzenleuchter <courtney at LunarG.com>
Date:   Wed Nov 13 13:22:39 2013 -0700

    mesa: Add custom get function for SCISSOR_TEST to _mesa_IsEnabledi
    
    Now that the scissor enable state is a bitfield need a custom function
    to extract the correct value from gl_context.  Modeled
    Scissor.EnableFlags after Color.BlendEnabled.
    
    Signed-off-by: Courtney Goeltzenleuchter <courtney at LunarG.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d9c0011a05a2137ca40fa9ed720520fcc29578f
Author: Courtney Goeltzenleuchter <courtney at LunarG.com>
Date:   Wed Nov 13 13:25:32 2013 -0700

    mesa: Add new get entrypoints for ARB_viewport_array
    
    v2 (idr): Fix several "comparison between signed and unsigned integer
    expressions" warnings.
    
    Signed-off-by: Courtney Goeltzenleuchter <courtney at LunarG.com>
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a4bc73f7ba397c03d0d7a796597bd0fea114df91
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Jan 8 08:52:00 2014 -0800

    mesa: Change parameter to _mesa_set_viewport to float
    
    This matches the expectations of GL_ARB_viewport_array and the storage
    type where the values will land.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=91ad85187682b16458c6bddbf98e79fa446bc947
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jan 9 15:44:58 2014 -0800

    meta: Restore all scissor state
    
    Previously the restore code would enable all scissor rectangles if any
    scissor rectangles were enabled on entry to meta.  When there is only
    one scissor rectangle, this is fine.  As soon as a driver supports
    multiple viewports, this will be a problem.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6d3b1dc150e4bdd462b5320a072e509777ad386a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Wed Nov 6 09:11:08 2013 -0800

    mesa: Set all scissor rects
    
    In _mesa_Scissor, make sure that ctx->Driver.Scissor is only called once
    instead of once per scissor rectangle.
    
    v2: Use MAX_VIEWPORTS instead of ctx->Const.MaxViewports because the
    driver may not set ctx->Const.MaxViewports yet.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=454cec429969b7f09eeff17a5d1e7584d36f017f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Nov 5 22:40:38 2013 -0800

    mesa: Set all viewports from _mesa_Viewport and _mesa_DepthRange
    
    In _mesa_Viewport and _mesa_DepthRange, make sure that
    ctx->Driver.Viewport is only called once instead of once per viewport or
    depth range.
    
    v2: Make _mesa_DepthRange actually set all of the depth ranges (instead
    of just index 0).  Noticed by Ken.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=562f353434878844e3aca4d75d049d5f17242aa8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jan 7 19:12:16 2014 -0800

    mesa: Restore all the viewports in _mesa_PopAttrib
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c65db3ebedf884568f9331d00b4759bee28102bb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jan 7 19:06:59 2014 -0800

    mesa: Restore all the scissor rectangles in _mesa_PopAttrib
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9de863603d8092243df502365a75d65982223f0e
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Nov 5 22:36:38 2013 -0800

    mesa: Initialize all the viewports
    
    v2: Use MAX_VIEWPORTS instead of ctx->Const.MaxViewports because the
    driver may not set ctx->Const.MaxViewports yet.
    
    v3: Handle all viewport entries in update_viewport_matrix and
    _mesa_copy_context too.  This was previously in an earlier patch.
    Having the code in the earlier patch could cause _mesa_copy_context to
    access a matrix that hadn't been constructed.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org> [v2]

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f6d7cd4a11e70b816733cff681dde7d03588d1c8
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jan 7 19:06:17 2014 -0800

    mesa: Add an index parameter to _mesa_set_scissor
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5232a7ded0c3a302ee0b551436b8f64a298d221c
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Mon Dec 9 11:54:41 2013 -0800

    mesa: Refactor scissor rectangle setting even more
    
    Create an internal function that just writes data into the scissor
    rectangle.  In future patches this will see more use because we only
    want to call dd_function_table::Scissor once after setting all of the
    scissor rectangles instead of once per scissor rectangle.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=799265aadcec6a7cf8918b5a8b4792016534b9c2
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Nov 5 21:36:12 2013 -0800

    mesa: Refactor viewport setting even more
    
    Create an internal function that just writes data into the viewport.  In
    future patches this will see more use because we only want to call
    dd_function_table::Viewport once after setting all of the viewport
    instead of once per viewport.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=42f916e1507f2a5b3da002936418ffe91925104f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Nov 5 21:34:26 2013 -0800

    mesa: Refactor depth range setting even more
    
    Create an internal function that just writes data into the depth range.
    In future patches this will see more use because we only want to call
    dd_function_table::DepthRange once after setting all of the depth ranges
    instead of once per depth range.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3eb135d1c72487619ec4ba2338a90b73c7bcda0d
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jan 7 16:57:11 2014 -0800

    mesa: Add an index parameter to _mesa_set_viewport
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cbb271a48845c2d236f31327df316d42888a1907
Author: Courtney Goeltzenleuchter <courtney at LunarG.com>
Date:   Wed Nov 13 16:24:56 2013 -0700

    mesa: Convert gl_context::Viewport to gl_context::ViewportArray
    
    Only element 0 of the array is used anywhere at this time, so there
    should be no changes.
    
    v4: Split out from a single megapatch.  Suggested by Ken.
    
    Signed-off-by: Courtney Goeltzenleuchter <courtney at LunarG.com>
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b84226c31e941219422f6d60c31524081b7a188
Author: Courtney Goeltzenleuchter <courtney at LunarG.com>
Date:   Wed Nov 13 16:24:56 2013 -0700

    mesa: Converty gl_viewport_attrib::X, ::Y, ::Width, and ::Height to float
    
    v4: Split out from a single megapatch.  Suggested by Ken.  Also make
    meta's save_state::ViewportX, ::ViewportY, ::ViewportW, and ::ViewportH
    to match gl_viewport_attrib.
    
    Signed-off-by: Courtney Goeltzenleuchter <courtney at LunarG.com>
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d4dc359875126c432e46e3d1da8610a066d21302
Author: Courtney Goeltzenleuchter <courtney at LunarG.com>
Date:   Wed Nov 13 16:24:56 2013 -0700

    mesa: Convert gl_viewport_attrib::Near and ::Far to double
    
    v4: Split out from a single megapatch.  Suggested by Ken.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e60d85029105ffdfd325186813b65232c5d2725
Author: Courtney Goeltzenleuchter <courtney at LunarG.com>
Date:   Wed Nov 13 16:24:56 2013 -0700

    mesa: Allow glGet of values that are 2 doubles
    
    This will be used when the viewport near and far plane are stored as
    doubles instead of as floats.
    
    v4 (idr): Split out from a single megapatch.  Suggested by Ken.  Also
    drop value_double_4.  It's never used anywhere in the patch series.
    
    Signed-off-by: Courtney Goeltzenleuchter <courtney at LunarG.com>
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=83bd850cc7f83c87fa271d6d501db86fae698f9a
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Nov 5 15:36:13 2013 -0800

    mesa: Move parameter validation from _mesa_set_viewport to _mesa_Viewport
    
    Internal callers should do the right thing.
    
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9c73fb778a41b422a811c67b4aba806d4dfb7c8
Author: Courtney Goeltzenleuchter <courtney at LunarG.com>
Date:   Wed Nov 13 14:02:12 2013 -0700

    mesa: Update gl_scissor_attrib to support ARB_viewport_array
    
    Update Mesa and drivers to access updated gl_scissor_attrib.
    Now have an enable bitfield and array of gl_scissor_rects.
    Drivers have been updated to the new scissor enable state
    attribute (gl_context.scissor.EnableFlags) but still treat it
    as a single boolean which is okay as mesa will only use
    bit 0 when communicating with a driver that does not support
    ARB_viewport_array.
    
    v2 (idr): Rebase fixes.
    
    v3 (idr): Small code formatting fix suggsted by Ken.
    
    Signed-off-by: Courtney Goeltzenleuchter <courtney at LunarG.com>
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f59e963b40a260d3087f83799de0a6fb0941d07
Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Tue Jan 7 14:39:48 2014 -0800

    mesa: Add new constants related to GL_ARB_viewport_array
    
    These limits will be queryable by GL_MAX_VIEWPORTS,
    GL_VIEWPORT_SUBPIXEL_BITS, and GL_VIEWPORT_BOUNDS_RANGE.  Drivers that
    actually implement the extension must set values for these constants
    that comply with the minimum-maximums from the spec.
    
    Most of these changes were part of other patches.  They were separated out
    because it make reordering of later patches easier.  Also, MaxViewports wasn't
    set by that patch, and I completely overlooked it in review.  It's now obvious
    that it's set. :)
    
    v2 (idr): Split these changes out from the original patches.  Keep
    MaxViewportWidth and MaxViewportHeight as GLuint.
    
    Signed-off-by: Courtney Goeltzenleuchter <courtney at LunarG.com>
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b39bfa4f492fc88dc053a098893b0441f8aed496
Author: Courtney Goeltzenleuchter <courtney at LunarG.com>
Date:   Tue Nov 19 18:31:24 2013 -0700

    mesa: Add extension tracking bit for ARB_viewport_array
    
    v2 (idr): Split these changes out from the original patch.  Only
    advertise GL_ARB_viewport_array in a core profile because it requires
    geometry shaders.
    
    Signed-off-by: Courtney Goeltzenleuchter <courtney at LunarG.com>
    Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>




More information about the mesa-commit mailing list