| 894 | return Common::create_float4(prog); |
| 895 | } |
| 896 | bv_variable lib_glsl_textureGradOffset(bv_program* prog, u8 count, bv_variable* args) |
| 897 | { |
| 898 | /* TODO */ |
| 899 | if (count >= 1) { |
| 900 | float bias = 0.0f; |
| 901 | if (args[0].type == bv_type_object) { |
| 902 | bv_object* sampler = bv_variable_get_object(args[0]); |
| 903 | Common::create_vec(prog, get_texture_type(sampler->type->name), 4); |
| 904 | } |
| 905 | } |
| 906 | |
| 907 | return Common::create_float4(prog); |
| 908 | } |
| 909 | bv_variable lib_glsl_textureLod(bv_program* prog, u8 count, bv_variable* args) |
| 910 | { |
| 911 | if (count >= 3) { |
nothing calls this directly
no test coverage detected