mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 05:17:45 -04:00
draw3d optimization
This commit is contained in:
parent
4c925b6945
commit
69836dc225
1 changed files with 2 additions and 0 deletions
|
@ -317,6 +317,8 @@ int render(const CGLTrace& trace) {
|
|||
|
||||
if (kernel_arg.tex_modulate && !kernel_arg.color_enabled)
|
||||
kernel_arg.tex_modulate = false;
|
||||
if (kernel_arg.tex_enabled && kernel_arg.color_enabled && ~kernel_arg.tex_modulate)
|
||||
kernel_arg.color_enabled = false;
|
||||
|
||||
RT_CHECK(vx_buf_alloc(device, sizeof(kernel_arg_t), &staging_buf));
|
||||
auto buf_ptr = (uint8_t*)vx_host_ptr(staging_buf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue