baldurk
cea0129b9a
Don't completely disable tooltip on D3D12 for 'plain' resource views
...
* We still want the tooltip to display the resource state.
* Also add a tooltip for VBs/IBs which do have a state we want to display.
2019-01-04 16:37:23 +00:00
baldurk
2237c241ff
Fix incorrectly named methods in ResourceFormat
...
* We try to maintain at least an internally consistent naming scheme for the
python/public interface, even if it doesn't match python naming schemes.
2019-01-03 12:22:29 +00:00
baldurk
6dd67d0069
Fix argument string for buffer views in D3D12 pipeline view
2019-01-03 12:22:28 +00:00
baldurk
96075bc575
Remove unwanted rowspan on D3D12 sample mask
...
* This messed up the grid outlines as it included another extra row that it
shouldn't have.
2019-01-03 12:22:27 +00:00
baldurk
36a4de8170
Don't show two empty rows for a completely empty combined image/sampler
2018-12-21 12:38:28 +00:00
Danylo Piliaiev
11fa2294d7
Display conditional rendering state for compute shader
...
If conditional rendering is enabled its state is always
displayed in both 'Rasterizer' and 'CS' states.
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com >
2018-12-19 16:20:21 +00:00
baldurk
5f96644d08
Add support for global uniforms in SPIR-V and non-bound textures.
...
* This isn't relevant for Vulkan, but in GL it's valid to not specify a binding
and fetch it at runtime (and even if a binding is specified, it's not
immutable and can be changed).
* Similarly GL allows bare uniforms that aren't in a buffer, which we handle in
the same way by wrapping them into a $Globals UBO.
2018-12-17 17:10:35 +00:00
Danylo Piliaiev
29e38e71a9
Implement VK_EXT_conditional_rendering
...
Predicate state is displayed in the raster state.
"Draw Call" and "Wireframe" overlays are visible even if predicate doesn't pass.
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com >
2018-12-14 20:22:08 +00:00
baldurk
2cf5129e71
Add support for YCbCr conversion samplers in vulkan. Refs #1194
2018-12-14 14:08:33 +00:00
baldurk
68b23c5f62
Add support for YUV resource formats
...
* We handle 4:4:4, 4:2:2, and 4:2:0, with packed, 2-plane and 3-plane formats,
for 8, 10, 12, and 16 bit depths.
* This covers most common formats but still leaves a few out - NV11, palettised
formats, V208/V408 JPG formats.
2018-12-11 19:57:20 +00:00
baldurk
2411ce70ea
Add flags to ResourceFormat to replace bgraOrder/srgbCorrected
...
* Allows for future expansion as well
2018-12-11 19:57:20 +00:00
baldurk
953652b398
Replace . with _ when creating buffer viewer format from input attrs
2018-11-14 18:32:35 +00:00
baldurk
a7be02bd0b
Add empty nodes to VBNodes tracking, to keep indices == vb slots
...
* This fixes VB highlighting when the bindings are sparse
2018-11-14 18:32:35 +00:00
baldurk
bfb64300e4
Fix expansion of stream-out buffers in D3D pipeline state viewers
2018-11-01 12:23:13 +00:00
baldurk
4e48bd09c9
Make it more explicit when only depth is bound (not depth-stencil) in GL
2018-11-01 12:23:12 +00:00
baldurk
8c3cc36e9c
Fix check for undefined view format type
2018-11-01 12:23:11 +00:00
baldurk
bc274b5b51
Only consider stream-out active on D3D if there are buffers bound
2018-10-25 10:49:56 +01:00
baldurk
8447e43e78
Fix panel menus
2018-10-23 15:15:39 +01:00
baldurk
94dfb9890b
Allow registering window, panel and context menu items with callbacks
2018-10-23 14:23:12 +01:00
baldurk
b5854f0fec
Implement VK_EXT_transform_feedback, and use it for mesh output
...
* For pipelines using tessellation or containing a geometry shader we use
transform feedback to fetch the output of the vertex pipeline after these
stages.
2018-10-16 16:53:03 +01:00
baldurk
4dd74c9290
Fix display of stream-out in D3D pipeline state viewers
2018-10-16 16:26:23 +01:00
baldurk
a9f814513b
Set groups to Expanding instead of MinimumExpanding
2018-10-16 16:26:23 +01:00
baldurk
eec6efc692
Add default case to switch statement
2018-10-11 12:19:06 +01:00
baldurk
d7b4609cbe
When formatting storage buffers in vulkan there's no root struct to skip
2018-10-11 11:09:37 +01:00
baldurk
0282c9a685
Fix pipeline state highlighting of disabled input attributes
...
* Using the row index is not accurate when some input attributes are disabled,
because they won't match up to the original index in the attributes list.
2018-10-11 11:09:36 +01:00
baldurk
b91d19e316
Generate better buffer format strings when opening VB or IB buffer views
2018-10-11 11:09:36 +01:00
baldurk
5472319025
When opening buffer textures, auto-generate a reasonable buffer format.
2018-10-11 11:09:36 +01:00
baldurk
c132142723
Remove unused lambda capture variable
2018-10-08 19:30:56 +01:00
baldurk
615b743b8e
Make shader debugging soft-blocking, pop up progress bar while working
...
* This prevents the user from accidentally triggering some other process while
the debug is still on-going, if it's taking a while.
2018-10-08 17:24:00 +01:00
baldurk
ad5cfcd290
Pass through and display VAO object in GL pipeline state
2018-10-01 18:27:44 +01:00
baldurk
cd1d87daa1
Disable IA bytecode button when no capture is open
2018-09-25 18:39:59 +01:00
baldurk
d0b650778b
Handle D3D12 register spaces with high values without full array size
...
* Technically register space values are arbitrary so the array should not be
resized to account for all space indices, in case one is very large.
2018-09-25 17:24:01 +01:00
baldurk
76d9ddd584
Improve highlighting of unbound vertex/index buffers in pipeline state
2018-08-28 18:23:57 +01:00
baldurk
babe36bf7e
Preserve stdout/stderr from external shader tools and display to user
2018-08-15 13:40:21 +01:00
baldurk
e2c6dc0317
Remove unused function
2018-08-10 18:12:29 +01:00
baldurk
3c7b420e59
Expand SPIR-V disassemblers to general shader processing tools
...
* Instead of just configuring SPIR-V disassemblers and picking only the first
one when we need to edit SPIR-V, we allow setting up any shader processor that
goes between two shader encodings.
* When editing, the default will still be to use embedded source, and then after
that the first tool that goes from the native shader format to a text format,
but the drop-down allows you to pick any of them.
* Similarly in the shader viewer you can configure the compilation options and
method, to choose the compiler you want to use. Embedded command line
parameters in the shader are automatically appended.
2018-08-09 16:56:53 +01:00
baldurk
a81e4a2b45
Pass through and allow different source shader encodings when editing
...
* This means e.g. the D3D11 back-end can accept DXBC directly if the UI can
provide it, or compile from HLSL as before.
* More importantly, the Vulkan back-end can take SPIR-V compiled from any
source, or compile from GLSL as before as a fall-back.
2018-08-09 16:56:52 +01:00
baldurk
24a5375133
Disable shader buttons when no shader is bound
2018-08-09 16:56:52 +01:00
baldurk
de59556c3b
Don't allow HTML pipeline export with no capture loaded
2018-08-09 16:56:49 +01:00
baldurk
d7e4060698
Make sure we don't open a shader viewer with an unbound shader
2018-08-07 12:42:52 +01:00
baldurk
c4c4c4b67d
Display multiview state in vulkan pipeline state viewer
2018-06-19 20:48:30 +01:00
baldurk
e87eacb2a0
Fix switching between pipeline state viewers
2018-06-19 12:38:18 +01:00
baldurk
0dda96a045
Change previous/next/parent IDs in DrawcallDescription to pointers
...
* This is a legacy holdover from the C# interop not being able to preserve
pointers easily.
2018-06-18 18:39:06 +01:00
baldurk
14e3a3d360
Move API-agnostic pipeline state wrapper into core interface
...
* There's no need for this to be in the UI, and moving it allows it to be used
from script which is very useful.
2018-06-18 18:39:06 +01:00
baldurk
45c3c27923
Rename DrawFlags::UseIBuffer to DrawFlags::Indexed
2018-06-15 19:40:54 +01:00
baldurk
2c8674790c
Add spacers in pipeline view for if all groups are collapsed
2018-06-13 09:17:03 +01:00
baldurk
72b40769b5
Add support for D3D12 up to D3D12.3. Closes #966
2018-06-07 14:49:07 +01:00
baldurk
c2c0433999
Fix logic/blend enabled being wrong way around on D3D12 too
2018-06-05 21:08:06 +01:00
baldurk
b213d54c1d
Account for added Divisor column when setting up vulkan pipeline state
2018-05-14 16:41:25 +01:00
baldurk
a45c222941
[Coverity] Remove redundant if() comparisons
2018-05-08 12:10:19 +01:00