| 1127 | } |
| 1128 | |
| 1129 | void RepackRGBToRGBA(uint32_t num_pixels, uint8_t* rgb, uint8_t* rgba) |
| 1130 | { |
| 1131 | for(uint32_t px=0; px < num_pixels; px++) |
| 1132 | { |
| 1133 | rgba[0] = rgb[0]; |
| 1134 | rgba[1] = rgb[1]; |
| 1135 | rgba[2] = rgb[2]; |
| 1136 | rgba[3] = 255; |
| 1137 | rgba+=4; |
| 1138 | rgb+=3; |
| 1139 | } |
| 1140 | } |
| 1141 | |
| 1142 | static void PutShaderResourceBindings(const ShaderDesc::ResourceBinding* bindings, uint32_t bindings_count, dmArray<ShaderResourceBinding>& bindings_out, ShaderResourceBindingFamily family) |
| 1143 | { |
no outgoing calls
no test coverage detected