Passthrough CmdDecoder: Reset unpack state on some TexImage
The command buffer client handles all the unpack parameters but alignment for non-compressed texture uploads from client data. Resetting the unpack state was handled transparently on the service-side. This implements the resetting in the passthrough cmd decoder too. This makes the following tests pass with the passthrough command buffer: - conformance2/textures/misc/tex-unpack-params - deqp/functional/gles3/texturespecification/teximage2d_unpack_params - deqp/functional/gles3/texturespecification/teximage3d_unpack_params - deqp/functional/gles3/texturespecification/texsubimage2d_unpack_params - deqp/functional/gles3/texturespecification/texsubimage3d_unpack_params BUG=chromium:602688 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2844393004 Cr-Commit-Position: refs/heads/master@{#468322}
Showing
Please register or sign in to comment