summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get_hash_params.py
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2016-08-28 19:51:45 -0400
committerIlia Mirkin <[email protected]>2016-09-13 20:49:47 -0400
commita69dc2c41294a4b7126804050bd4d10f3208852e (patch)
tree0d1738526cf3ed1a19333225783b559f0692b1d8 /src/mesa/main/get_hash_params.py
parentaa7b410592700bf6253e8695ea208d0448c1610e (diff)
mesa: add a GLES3.2 enums section, and expose new MS line width params
This also exposes them for ARB_ES3_2_compatibility. While both specs refer to the new MS line width parameters being separate from the existing AA line widths, reality begs to differ. It's the same on all hardware currently supported by mesa. Should hardware come along that wants these to be different, they're easy enough to separate out. Signed-off-by: Ilia Mirkin <[email protected]> Reviewed-by: Ian Romanick <[email protected]> (v1) Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/get_hash_params.py')
-rw-r--r--src/mesa/main/get_hash_params.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py
index a206c851f7e..4b86697d1be 100644
--- a/src/mesa/main/get_hash_params.py
+++ b/src/mesa/main/get_hash_params.py
@@ -612,6 +612,11 @@ descriptor=[
[ "PRIMITIVE_BOUNDING_BOX_ARB", "CONTEXT_FLOAT8(PrimitiveBoundingBox), extra_OES_primitive_bounding_box" ],
]},
+{ "apis": ["GL_CORE", "GLES32"], "params": [
+ [ "MULTISAMPLE_LINE_WIDTH_RANGE_ARB", "CONTEXT_FLOAT2(Const.MinLineWidthAA), extra_ES32" ],
+ [ "MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB", "CONTEXT_FLOAT(Const.LineWidthGranularity), extra_ES32" ],
+]},
+
# Remaining enums are only in OpenGL
{ "apis": ["GL", "GL_CORE"], "params": [
[ "ACCUM_RED_BITS", "BUFFER_INT(Visual.accumRedBits), NO_EXTRA" ],