View Issue Details

IDProjectCategoryView StatusLast Update
0022433Runner[All Projects] FunctionsPublic2017-03-01 11:33
ReporterMaddeMichaelAssigned ToMike Rennie 
PriorityHighSeverityA - Crash/HangReproducibility100%
Status ClosedResolutionFixed 
PlatformWindowsOSWindows 8OS Version
Product Version 
Target VersionFixed in 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 Found In1.4.1757
2.x Runtime Found In
2.x Runtime Verified In


Stewart Bishop

2016-07-07 14:36


Simple_Shader_Examples1MODIFIED.gmz (1,853,506 bytes)