summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/queryobj.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-02-09 15:30:39 -0800
committerJason Ekstrand <[email protected]>2016-02-09 15:30:39 -0800
commit768bd7f272e0dfd8cc17c49750fe8aaab78bb420 (patch)
tree5d8e07b6539565cbfe9ebff5d77cde8b6a8bf566 /src/mesa/main/queryobj.c
parent4c5dcccfba3c9d0e5c7302aa797ad8d31f18cf52 (diff)
parent8b0fb1c152fe191768953aa8c77b89034a377f83 (diff)
Merge commit '8b0fb1c152fe191768953aa8c77b89034a377f83' into vulkan
This pulls in Rob Clark's const_index changes for NIR
Diffstat (limited to 'src/mesa/main/queryobj.c')
-rw-r--r--src/mesa/main/queryobj.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/main/queryobj.c b/src/mesa/main/queryobj.c
index b86692a5f7e..7a70b592c47 100644
--- a/src/mesa/main/queryobj.c
+++ b/src/mesa/main/queryobj.c
@@ -807,11 +807,6 @@ invalid_enum:
return;
}
- /* TODO: Have the driver be required to handle this fixup. */
- if (q->Target == GL_ANY_SAMPLES_PASSED ||
- q->Target == GL_ANY_SAMPLES_PASSED_CONSERVATIVE)
- value = !!value;
-
switch (ptype) {
case GL_INT: {
GLint *param = (GLint *)offset;