Changeset 82700 in vbox for trunk/src/VBox/Devices/Graphics/shaderlib/glsl_shader.c
- Timestamp:
- Jan 9, 2020 3:13:21 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/shaderlib/glsl_shader.c
r80547 r82700 3202 3202 if (shader_version < WINED3D_SHADER_VERSION(2,0)) sampler_idx = ins->dst[0].reg.idx; 3203 3203 else sampler_idx = ins->src[1].reg.idx; 3204 3205 AssertReturnVoid(sampler_idx < RT_ELEMENTS(ins->ctx->reg_maps->sampler_type)); 3204 3206 sampler_type = ins->ctx->reg_maps->sampler_type[sampler_idx]; 3205 3207 … … 3297 3299 3298 3300 sampler_idx = ins->src[1].reg.idx; 3301 AssertReturnVoid(sampler_idx < RT_ELEMENTS(ins->ctx->reg_maps->sampler_type)); 3302 3299 3303 sampler_type = ins->ctx->reg_maps->sampler_type[sampler_idx]; 3300 3304 if(deviceImpl->stateBlock->textures[sampler_idx] && … … 3325 3329 3326 3330 sampler_idx = ins->src[1].reg.idx; 3331 AssertReturnVoid(sampler_idx < RT_ELEMENTS(ins->ctx->reg_maps->sampler_type)); 3332 3327 3333 sampler_type = ins->ctx->reg_maps->sampler_type[sampler_idx]; 3328 3334 if(deviceImpl->stateBlock->textures[sampler_idx] &&
Note:
See TracChangeset
for help on using the changeset viewer.