| 502 | return bv_variable_create_uint(0); |
| 503 | } |
| 504 | bv_variable lib_glsl_packSnorm2x16(bv_program* prog, u8 count, bv_variable* args) |
| 505 | { |
| 506 | /* uint packUnorm2x16(vec2) */ |
| 507 | if (count == 1) { |
| 508 | if (args[0].type == bv_type_object) |
| 509 | return bv_variable_create_uint(glm::packSnorm2x16(sd::AsVector<2, float>(args[0]))); |
| 510 | } |
| 511 | return bv_variable_create_uint(0); |
| 512 | } |
| 513 | bv_variable lib_glsl_packUnorm4x8(bv_program* prog, u8 count, bv_variable* args) |
| 514 | { |
| 515 | /* uint packUnorm4x8(vec4) */ |
nothing calls this directly
no outgoing calls
no test coverage detected