mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
i965: Delete stale "pre-gen4" comment in texture validation code.
In commit 16060c5adc, Eric changed the
code to not relayout just for baselevel changes - only if the range of
miplevels actually increases. So this comment is now wrong.
Notably, the i915 version of the code actually does what the comment
says.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
8ccae4fe28
commit
5d90926052
1 changed files with 0 additions and 5 deletions
|
|
@ -107,11 +107,6 @@ intel_finalize_mipmap_tree(struct brw_context *brw, GLuint unit)
|
|||
|
||||
/* Check tree can hold all active levels. Check tree matches
|
||||
* target, imageFormat, etc.
|
||||
*
|
||||
* For pre-gen4, we have to match first_level == tObj->BaseLevel,
|
||||
* because we don't have the control that gen4 does to make min/mag
|
||||
* determination happen at a nonzero (hardware) baselevel. Because
|
||||
* of that, we just always relayout on baselevel change.
|
||||
*/
|
||||
if (intelObj->mt &&
|
||||
(!intel_miptree_match_image(intelObj->mt, &firstImage->base.Base) ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue