projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09dc4f9
)
mesa: (trivial) add TODO comment for default results for internal queries
author
Roland Scheidegger
<sroland@vmware.com>
Tue, 30 Jan 2018 00:03:49 +0000
(
01:03
+0100)
committer
Roland Scheidegger
<sroland@vmware.com>
Tue, 30 Jan 2018 00:28:47 +0000
(
01:28
+0100)
src/mesa/main/formatquery.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/formatquery.c
b/src/mesa/main/formatquery.c
index 9174fb6b27612c4be24e606e43d85503c5d1e3e5..1846fbc688cde926b139d05ac5a75ede4adbc7d3 100644
(file)
--- a/
src/mesa/main/formatquery.c
+++ b/
src/mesa/main/formatquery.c
@@
-700,6
+700,12
@@
_mesa_query_internal_format_default(struct gl_context *ctx, GLenum target,
case GL_FRAMEBUFFER_RENDERABLE_LAYERED:
case GL_FRAMEBUFFER_BLEND:
case GL_FILTER:
+ /*
+ * TODO seems a tad optimistic just saying yes to everything here.
+ * Even for combinations which make no sense...
+ * And things like TESS_CONTROL_TEXTURE should definitely default to
+ * NONE if the driver doesn't even support tessellation...
+ */
params[0] = GL_FULL_SUPPORT;
break;
case GL_NUM_TILING_TYPES_EXT: