summaryrefslogtreecommitdiff
path: root/src/mesa/main/uniform_query.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/uniform_query.cpp')
-rw-r--r--src/mesa/main/uniform_query.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/uniform_query.cpp b/src/mesa/main/uniform_query.cpp
index 54c1b306050..82ebe7dad02 100644
--- a/src/mesa/main/uniform_query.cpp
+++ b/src/mesa/main/uniform_query.cpp
@@ -1041,7 +1041,7 @@ _mesa_flush_vertices_for_uniforms(struct gl_context *ctx,
if (!uni->is_bindless && uni->type->contains_opaque()) {
/* Samplers flush on demand and ignore redundant updates. */
if (!uni->type->is_sampler())
- FLUSH_VERTICES(ctx, 0);
+ FLUSH_VERTICES(ctx, 0, 0);
return;
}
@@ -1055,7 +1055,7 @@ _mesa_flush_vertices_for_uniforms(struct gl_context *ctx,
new_driver_state |= ctx->DriverFlags.NewShaderConstants[index];
}
- FLUSH_VERTICES(ctx, new_driver_state ? 0 : _NEW_PROGRAM_CONSTANTS);
+ FLUSH_VERTICES(ctx, new_driver_state ? 0 : _NEW_PROGRAM_CONSTANTS, 0);
ctx->NewDriverState |= new_driver_state;
}
@@ -1278,7 +1278,7 @@ _mesa_uniform(GLint location, GLsizei count, const GLvoid *values,
*/
if (sampler->unit != value || !sampler->bound) {
if (!flushed) {
- FLUSH_VERTICES(ctx, _NEW_TEXTURE_OBJECT | _NEW_PROGRAM);
+ FLUSH_VERTICES(ctx, _NEW_TEXTURE_OBJECT | _NEW_PROGRAM, 0);
flushed = true;
}
sampler->unit = value;
@@ -1289,7 +1289,7 @@ _mesa_uniform(GLint location, GLsizei count, const GLvoid *values,
} else {
if (sh->Program->SamplerUnits[unit] != value) {
if (!flushed) {
- FLUSH_VERTICES(ctx, _NEW_TEXTURE_OBJECT | _NEW_PROGRAM);
+ FLUSH_VERTICES(ctx, _NEW_TEXTURE_OBJECT | _NEW_PROGRAM, 0);
flushed = true;
}
sh->Program->SamplerUnits[unit] = value;