| 156 | } |
| 157 | |
| 158 | HSampler GetProgramSampler(const dmArray<Sampler>& samplers, uint32_t unit) |
| 159 | { |
| 160 | if (unit < samplers.Size()) |
| 161 | { |
| 162 | return (HSampler) &samplers[unit]; |
| 163 | } |
| 164 | return 0x0; |
| 165 | } |
| 166 | |
| 167 | bool GetSamplerInfo(HSampler sampler, SamplerInfo* info) |
| 168 | { |
no test coverage detected