| 484 | return bv_variable_create_float(0.0f); |
| 485 | } |
| 486 | bv_variable lib_glsl_packHalf2x16(bv_program* prog, u8 count, bv_variable* args) |
| 487 | { |
| 488 | /* uint packHalf2x16(vec2) */ |
| 489 | if (count == 1) { |
| 490 | if (args[0].type == bv_type_object) |
| 491 | return bv_variable_create_uint(glm::packHalf2x16(sd::AsVector<2, float>(args[0]))); |
| 492 | } |
| 493 | return bv_variable_create_uint(0); |
| 494 | } |
| 495 | bv_variable lib_glsl_packUnorm2x16(bv_program* prog, u8 count, bv_variable* args) |
| 496 | { |
| 497 | /* uint packUnorm2x16(vec2) */ |
nothing calls this directly
no outgoing calls
no test coverage detected