| 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) */ |
| 516 | if (count == 1) { |
| 517 | if (args[0].type == bv_type_object) |
| 518 | return bv_variable_create_uint(glm::packUnorm4x8(sd::AsVector<4, float>(args[0]))); |
| 519 | } |
| 520 | return bv_variable_create_uint(0); |
| 521 | } |
| 522 | bv_variable lib_glsl_packSnorm4x8(bv_program* prog, u8 count, bv_variable* args) |
| 523 | { |
| 524 | /* uint packSnorm4x8(vec4) */ |
nothing calls this directly
no outgoing calls
no test coverage detected