MCPcopy Create free account
hub / github.com/GPUOpen-Effects/GeometryFX / deserialize_float3

Function deserialize_float3

amd_lib/shared/d3d11/src/AMD_Serialize.cpp:137–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 }
136
137 void deserialize_float3(FILE * file, char * name, float * v, bool use_float)
138 {
139 float f[4];
140 fscanf(file, "#%s = %f %f %f; \n", name, &v[0], &v[1], &v[2]);
141
142 if (use_float)
143 {
144 deserialize_uint3(file, name, (uint *) f);
145 }
146 else
147 {
148 deserialize_uint3(file, name, (uint *) v);
149 }
150 }
151
152 void deserialize_float4(FILE * file, char * name, float * v, bool use_float)
153 {

Callers

nothing calls this directly

Calls 1

deserialize_uint3Function · 0.85

Tested by

no test coverage detected