| 868 | return Common::create_float4(prog); |
| 869 | } |
| 870 | bv_variable lib_glsl_textureGatherOffsets(bv_program* prog, u8 count, bv_variable* args) |
| 871 | { |
| 872 | /* TODO */ |
| 873 | if (count >= 1) { |
| 874 | float bias = 0.0f; |
| 875 | if (args[0].type == bv_type_object) { |
| 876 | bv_object* sampler = bv_variable_get_object(args[0]); |
| 877 | Common::create_vec(prog, get_texture_type(sampler->type->name), 4); |
| 878 | } |
| 879 | } |
| 880 | |
| 881 | return Common::create_float4(prog); |
| 882 | } |
| 883 | bv_variable lib_glsl_textureGrad(bv_program* prog, u8 count, bv_variable* args) |
| 884 | { |
| 885 | /* TODO */ |
nothing calls this directly
no test coverage detected