"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/mesa/main/uniform_query.cpp" between
mesa-21.2.0-rc1.tar.xz and mesa-21.2.0-rc2.tar.xz

About: Mesa is an open-source implementation of the OpenGL specification - a system for rendering interactive 3D graphics (main library code). Release candidate.

uniform_query.cpp  (mesa-21.2.0-rc1.tar.xz):uniform_query.cpp  (mesa-21.2.0-rc2.tar.xz)
skipping to change at line 1339 skipping to change at line 1339
ctx_flushed = true; ctx_flushed = true;
} }
} else { } else {
storage = &uni->storage[size_mul * components * offset]; storage = &uni->storage[size_mul * components * offset];
if (copy_uniforms_to_storage(storage, uni, ctx, count, values, size_mul, if (copy_uniforms_to_storage(storage, uni, ctx, count, values, size_mul,
offset, components, basicType, !ctx_flushed)) { offset, components, basicType, !ctx_flushed)) {
_mesa_propagate_uniforms_to_driver_storage(uni, offset, count); _mesa_propagate_uniforms_to_driver_storage(uni, offset, count);
ctx_flushed = true; ctx_flushed = true;
} }
} }
if (!ctx_flushed) /* Return early if possible. Bindless samplers need to be processed
* because of the !sampler->bound codepath below.
*/
if (!ctx_flushed && !(uni->type->is_sampler() && uni->is_bindless))
return; /* no change in uniform values */ return; /* no change in uniform values */
/* If the uniform is a sampler, do the extra magic necessary to propagate /* If the uniform is a sampler, do the extra magic necessary to propagate
* the changes through. * the changes through.
*/ */
if (uni->type->is_sampler()) { if (uni->type->is_sampler()) {
/* Note that samplers are the only uniforms that don't call /* Note that samplers are the only uniforms that don't call
* FLUSH_VERTICES above. * FLUSH_VERTICES above.
*/ */
bool flushed = false; bool flushed = false;
 End of changes. 1 change blocks. 
1 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)