Closed Goshido closed 1 month ago
I can't reproduce this. I compiled the shaders as directed and the command line for the editing works in v1.34 and v1.35, though it fails due to the compiler bug you reported before in #3425 which is not a RenderDoc issue.
It would be easier if you could share your capture to reproduce the problem. Ideally one made in v1.34 which works and one made in v1.35 which breaks since you say it is a regression between versions.
I get the failure to edit which seems to be caused by a broken shader - but both captures are equally broken for me so I'm presumably not seeing the same thing as you. Loading the v1.34 capture in either v1.34 or v1.35 is broken in exactly the same way as the v1.35 capture.
You're saying that this works in v1.34 with that capture, which draw exactly works in v1.34? does it also work if you load that working capture in v1.35?
You're saying that this works in v1.34 with that capture, which draw exactly works in v1.34?
I double checked v1.34 behavior. It turns out that error exactly the same as in v1.35. So it's not a regression but the same bug.
does it also work if you load that working capture in v1.35?
No. It doesn't work. Compilation error happens as described in the issue.
It looks like the SPIR-V blobs from new DXC trigger compilation error in the RenderDoc. I mean new DXC fixes "shader source with define only includes" but breaks shader compilation. Maybe the problem is in SPIR-V blobs itself? In RenderDoc module which parses SPIR-V and extracts shader source information and compilation flags?
Here is blobs from old and new DXC: SPIR-V blobs.zip. Would you kindly run RenderDoc under debugger and compare outcome for that SPIR-V blobs?
So you're saying that when you said it was working in v1.34 and only broke when you updated to v1.35, that's not the case, and the capture that you uploaded and said was working in v1.34, it never worked?
In that case I don't think there's a RenderDoc bug here, only the broken shaders. It sounds like you changed DXC versions and the new DXC version emits broken shaders.
For the future please be more careful when reporting bugs and don't provide incorrect information as it wastes time and causes confusion.
Description
I'm using Vulkan + HLSL workflow. After editing shader and press compile
DXC
report compilation error:I also noticed that previous RenderDoc v1.34 showed exactly the same compilation flag information:
Current RenderDoc v1.35 shows less information:
Steps to reproduce
blit_program.ps
:color_space.ps
:blit_program.inc
:srgb_program.inc
:blit_program.ps
by multiplyingcolor
variable by0.5H
.Problem: Compilation fails:
Expected: Compilation success.
Environment
49d1ae9a0
)75ff50caa046a054747ae15b5c1910a4c8aa1917
Additional information.
The video with problem:
https://github.com/user-attachments/assets/f0ef8f84-19f0-4230-9219-11175e0bf62c