summaryrefslogtreecommitdiff
path: root/src/tools/uic/cpp/cppwriteinitialization.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2020-03-06 17:20:01 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2020-03-10 09:38:03 +0100
commit3dd13d4075a250aa5070b97858a3115d5192e6f6 (patch)
tree216d98f358088fff672827777327c18ca81db02a /src/tools/uic/cpp/cppwriteinitialization.cpp
parent19a76200ea67a418fb81e3ab5201dbde2343ec03 (diff)
downloadqtbase-3dd13d4075a250aa5070b97858a3115d5192e6f6.tar.gz
rhi: d3d11: Honor resource/sampler slot limits
Show a warning but allow applications to survive by not attempting to call VS/PS/CSSetWhatever() with an invalid number of resources. Relevant for samplers in particular, where the limit is 16. Qt Quick 3D exhibits problems with this when using custom materials combined with shadow mapping, and while this is not a solution to the problem there, at least the problem is now clearly indicated instead of crashing. Task-number: QTBUG-82719 Change-Id: I83914b7648001fa421ed1cf07a7b7444e0ef8fc0 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.cpp')
0 files changed, 0 insertions, 0 deletions