summaryrefslogtreecommitdiffstats
path: root/docs/README.THREADS
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2014-02-22 18:09:31 +1300
committerCarl Worth <[email protected]>2014-03-11 11:49:51 -0700
commitaba40445c25d01026ce29baabf2e4b24e176a55e (patch)
tree5e9525e982dce766f25b58b3eb967cb920a419c0 /docs/README.THREADS
parent6a81f2bc9b024c33fbcb15ea2215dd407dea8c9c (diff)
i965: Validate (and resolve) all the bound textures.
BRW_MAX_TEX_UNIT is the static limit on the number of textures we support per-stage, not in total. Core's `Unit` array is sized by MAX_COMBINED_TEXTURE_IMAGE_UNITS, which is significantly larger, and across the various shader stages, up to ctx->Const.MaxCombinedTextureImageUnits elements of it may be actually used. Fixes invisible bad behavior in piglit's max-samplers test (although this escalated to an assertion failure on HSW with texture_view, since non-immutable textures only have _Format set by validation.) Signed-off-by: Chris Forbes <[email protected]> Cc: "9.2 10.0 10.1" <[email protected]> Cc: Kenneth Graunke <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> (cherry picked from commit befbda56a246f77797bdf13fc005353441db2879)
Diffstat (limited to 'docs/README.THREADS')
0 files changed, 0 insertions, 0 deletions