Commit 84e3b8b9 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Record sampler usage for WINED3DSIH_LD_RAW.

parent e90bfc94
...@@ -1354,6 +1354,7 @@ static HRESULT shader_get_registers_used(struct wined3d_shader *shader, const st ...@@ -1354,6 +1354,7 @@ static HRESULT shader_get_registers_used(struct wined3d_shader *shader, const st
ins.src[2].reg.idx[0].offset, reg_maps->sampler_map.count); ins.src[2].reg.idx[0].offset, reg_maps->sampler_map.count);
} }
else if (ins.handler_idx == WINED3DSIH_LD else if (ins.handler_idx == WINED3DSIH_LD
|| (ins.handler_idx == WINED3DSIH_LD_RAW && ins.src[1].reg.type == WINED3DSPR_RESOURCE)
|| (ins.handler_idx == WINED3DSIH_RESINFO && ins.src[1].reg.type == WINED3DSPR_RESOURCE)) || (ins.handler_idx == WINED3DSIH_RESINFO && ins.src[1].reg.type == WINED3DSPR_RESOURCE))
{ {
shader_record_sample(reg_maps, ins.src[1].reg.idx[0].offset, shader_record_sample(reg_maps, ins.src[1].reg.idx[0].offset,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment