diff options
author | Jordan Justen <[email protected]> | 2014-01-25 10:55:22 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2014-02-06 16:58:33 -0800 |
commit | 020c43f401e671e80ac90182415cbbed1575dde4 (patch) | |
tree | 725b339175d1261b47888708b6923c9147e3ae93 /src/mesa/main/context.c | |
parent | 60914fa80d77e2104460f8aeeed8b7c34cfa13b2 (diff) |
main/get: support ARB_gpu_shader5
If a driver enables ARB_gpu_shader5 and sets Const.MaxVertexSteams >= 4,
then piglit's arb_gpu_shader5-minmax test should now pass.
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index f2f9bb3ed5c..458d8e59b17 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -709,6 +709,10 @@ _mesa_init_constants(struct gl_context *ctx) ctx->Const.MaxComputeWorkGroupSize[1] = 1024; ctx->Const.MaxComputeWorkGroupSize[2] = 64; ctx->Const.MaxComputeWorkGroupInvocations = 1024; + + /** GL_ARB_gpu_shader5 */ + ctx->Const.MinFragmentInterpolationOffset = MIN_FRAGMENT_INTERPOLATION_OFFSET; + ctx->Const.MaxFragmentInterpolationOffset = MAX_FRAGMENT_INTERPOLATION_OFFSET; } |