View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0022433Runner[All Projects] FunctionsPublic2016-07-07 14:322017-03-01 11:33
Assigned ToMike Rennie 
PriorityHighSeverityA - Crash/HangReproducibility100%
PlatformWindowsOSWindows 8OS Version
Summary0022433: Functions: Runner will crash when both "blendindices" and "blendweight" are specified in the vertex_format and buffer
DescriptionWhenever I try to build a vertex buffer with a vertex format that contains both "blendindices" and "blendweights" (but not one or the other, weirdly) the runner crashes when the vertex buffer is drawn (I have not deleted the vertex_format before draw, just to note).

I noticed this (to my dismay) in my own project, and tested it again in the shader demo's 11 and 12, just by appending:

vertex_format_add_custom(vertex_type_float4, vertex_usage_blendindices);
vertex_format_add_custom(vertex_type_float4, vertex_usage_blendweight);

to the format and:


to each of the vertices in the buffer.

I also tried using ubyte4 for the blend indices with no result. Again, the crash only occurs when the vertex buffer is submitted, and only when both of those format parameters are present.

I could use a different "usage" parameter for one of them, but I'd rather this worked.
Steps To Reproduce1) Run the project
2) Click until you reach example 11
3) When you reach example 11, the runner will crash
Additional InformationOriginal helpdesk ticket: [^]
1.4 Version1.4.1757
2.x Runtime Version
2.x Runtime Version Verified In
Attached Files? file icon Simple_Shader_Examples1MODIFIED.gmz [^] (1,853,506 bytes) 2016-07-07 14:36

- Relationships

-  Notes
There are no notes attached to this issue.

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker