mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 21:05:45 +00:00
Shader Debugger: Allow editing of input vertex data
This commit is contained in:
parent
1b79a72723
commit
65b26655ac
1 changed files with 2 additions and 0 deletions
|
@ -518,6 +518,8 @@ void GraphicsVertexShaderWidget::OnResumed() {
|
||||||
|
|
||||||
void GraphicsVertexShaderWidget::OnInputAttributeChanged(int index) {
|
void GraphicsVertexShaderWidget::OnInputAttributeChanged(int index) {
|
||||||
float value = input_data[index]->text().toFloat();
|
float value = input_data[index]->text().toFloat();
|
||||||
|
input_vertex.attr[index / 4][index % 4] = Pica::float24::FromFloat32(value);
|
||||||
|
// Re-execute shader with updated value
|
||||||
Reload();
|
Reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue