summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/uniforms.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-10-14 10:26:41 -0600
committerBrian Paul <[email protected]>2013-10-16 08:13:45 -0600
commitfa9c702164768f6ef05bdb02deff2f49a8d166de (patch)
tree7f85bb9f61093aaac43a8e3018e40ceb75cdcad2 /src/mesa/main/uniforms.h
parent6e444a72c1f9e4446e025b8cb780523cb89f0584 (diff)
mesa: consolidate cube width=height error checking
Instead of checking width==height in four places, just do it in _mesa_legal_texture_dimensions() where we do the other width, height, depth checks. Similarly, move the check that cube map array depth is a multiple of 6. This change also fixes some missing cube dimension checks for the glTexStorage[23]D() functions. Remove width==height assertion in _mesa_get_tex_max_num_levels() since that's called before the other size checks for glTexStorage. Cc: "9.2" <[email protected]>
Diffstat (limited to 'src/mesa/main/uniforms.h')
0 files changed, 0 insertions, 0 deletions