Changeset 82711 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Jan 10, 2020 11:21:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/shaderlib/shader.c
r82704 r82711 438 438 default: 439 439 TRACE("Not recording register of type %#x and idx %u\n", reg->type, reg->idx); 440 return E_INVALIDARG;440 break; 441 441 } 442 442 … … 685 685 686 686 hr = shader_record_register_usage(shader, reg_maps, &dst_param.reg, shader_version.type); 687 AssertReturn( FAILED(hr), hr);687 AssertReturn(SUCCEEDED(hr), hr); 688 688 689 689 /* WINED3DSPR_TEXCRDOUT is the same as WINED3DSPR_OUTPUT. _OUTPUT can be > MAX_REG_TEXCRD and … … 743 743 { 744 744 unsigned int sampler_idx; 745 AssertReturn(shader_version.major == 1, E_INVALIDARG);746 745 747 746 /* Fake sampler usage, only set reserved bit and type. */ … … 793 792 794 793 hr = shader_record_register_usage(shader, reg_maps, &src_param.reg, shader_version.type); 795 AssertReturn( FAILED(hr), hr);794 AssertReturn(SUCCEEDED(hr), hr); 796 795 797 796 while (count) … … 799 798 ++src_param.reg.idx; 800 799 hr = shader_record_register_usage(shader, reg_maps, &src_param.reg, shader_version.type); 801 AssertReturn( FAILED(hr), hr);800 AssertReturn(SUCCEEDED(hr), hr); 802 801 --count; 803 802 }
Note:
See TracChangeset
for help on using the changeset viewer.