mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
libs/vkd3d-shader: Add FIXME comment for local function variables.
This commit is contained in:
parent
a47724ce3a
commit
7c606089f1
@ -1963,6 +1963,9 @@ static void vkd3d_dxbc_compiler_emit_dcl_temps(struct vkd3d_dxbc_compiler *compi
|
||||
unsigned int i;
|
||||
uint32_t id;
|
||||
|
||||
/* FIXME: Make sure that function variables are declared at the beginning
|
||||
* of the first block in the function. Otherwise, we'll produce invalid
|
||||
* SPIR-V code. */
|
||||
assert(!compiler->temp_count);
|
||||
compiler->temp_count = instruction->declaration.count;
|
||||
for (i = 0; i < compiler->temp_count; ++i)
|
||||
|
Loading…
x
Reference in New Issue
Block a user