| 1080 | return Common::create_float4(prog); |
| 1081 | } |
| 1082 | bv_variable lib_glsl_textureProjGradOffset(bv_program* prog, u8 count, bv_variable* args) |
| 1083 | { |
| 1084 | /* TODO */ |
| 1085 | if (count >= 1) { |
| 1086 | float bias = 0.0f; |
| 1087 | if (args[0].type == bv_type_object) { |
| 1088 | bv_object* sampler = bv_variable_get_object(args[0]); |
| 1089 | Common::create_vec(prog, get_texture_type(sampler->type->name), 4); |
| 1090 | } |
| 1091 | } |
| 1092 | |
| 1093 | return Common::create_float4(prog); |
| 1094 | } |
| 1095 | bv_variable lib_glsl_textureProjLod(bv_program* prog, u8 count, bv_variable* args) |
| 1096 | { |
| 1097 | if (count >= 3) { |
nothing calls this directly
no test coverage detected