Bug 91787 - glTextureSubImage3D (DSA) crashes when being used to upload cube map faces
Summary: glTextureSubImage3D (DSA) crashes when being used to upload cube map faces
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 10.6
Hardware: x86-64 (AMD64) Linux (All)
: medium blocker
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-28 07:37 UTC by CapsAdmin
Modified: 2015-11-19 07:20 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description CapsAdmin 2015-08-28 07:37:08 UTC
You should be able to use glTextureSubImage3D to upload faces to a cube map  texture where zoffset is the cube map face since the 2D version does not have a target argument in DSA.

This was discussed a bit on #dri-devel and it seemed like the code for glTextureSubImage3D was wrong. I believe someone attempted to push a fix it but I'm unable to build mesa from scratch at the moment.

ps: I'm not sure what driver to select with intel hd 5500, please change it to the appropriate and remove this message if it's wrong.
Comment 1 Ilia Mirkin 2015-08-28 07:50:48 UTC
This is the fix I pushed:

http://cgit.freedesktop.org/mesa/mesa/commit/?id=2259b111003f2e8c55cae42677ec45345fb1b6e3

As there's no piglit coverage of dsa texture stuff right now, no idea if it helps. But it should.
Comment 2 Tapani Pälli 2015-11-19 07:20:30 UTC
There's few DSA tests that call this function and they pass, I'm resolving this as fixed. If you still experience problems with this, please reopen!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.