mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/ir: Store the block count in struct vsir_program.
This commit is contained in:
committed by
Alexandre Julliard
parent
98c6e85b33
commit
f3c7d2d05c
Notes:
Alexandre Julliard
2024-01-23 23:05:46 +01:00
Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/594
@@ -5527,7 +5527,7 @@ static enum vkd3d_result sm6_function_emit_blocks(const struct sm6_function *fun
|
||||
{
|
||||
unsigned int i;
|
||||
|
||||
sm6->p.shader_desc.block_count = function->block_count;
|
||||
sm6->p.program.block_count = function->block_count;
|
||||
|
||||
for (i = 0; i < function->block_count; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user