| 4461 | } |
| 4462 | |
| 4463 | static bool force_floating_point_value(const reshadefx::type &type, uint32_t renderer_id) |
| 4464 | { |
| 4465 | if (renderer_id == 0x9000) |
| 4466 | return true; // All uniform variables are floating-point in D3D9 |
| 4467 | if (type.is_matrix() && (renderer_id & 0x10000)) |
| 4468 | return true; // All matrices are floating-point in GLSL |
| 4469 | return false; |
| 4470 | } |
| 4471 | |
| 4472 | void reshade::runtime::get_uniform_value_data(const uniform &variable, uint8_t *data, size_t size, size_t base_index) const |
| 4473 | { |
no test coverage detected