Jake Turner
f5a2bae23c
Set the enable state for Save, Delete actions
...
Disable the actions when no captures are selected
2022-06-20 10:12:40 +01:00
Jason Chen
825f1c69fe
Fix typo
2022-06-17 16:09:22 +01:00
baldurk
1eee00f01d
Remove unnecessary sRGB conversions
2022-06-16 16:30:00 +01:00
baldurk
e50e114cb7
Show error/unavailable status for postvs data in mesh view. Refs #2595
2022-06-06 18:35:29 +01:00
baldurk
fcc7eada44
Ignore whitespace when matching variable tooltip expressions
2022-06-02 17:01:48 +01:00
baldurk
77232e0288
Fix lookup of HLSL direct cbuffer variable references
2022-05-31 13:06:42 +01:00
baldurk
f01dfbecc1
Add a python extension function to access picked location. Refs #2065
2022-05-31 11:26:59 +01:00
baldurk
b3e8bdb0f5
Only show base EID not EID range when exporting actions
2022-05-30 15:58:30 +01:00
baldurk
ba5f806ba1
Set constant buffer generated format as the auto format
2022-05-27 10:43:55 +01:00
baldurk
c77261f0f3
Display struct/enum typenames when available in buffer viewer
2022-05-25 17:18:31 +01:00
baldurk
d44d9e4857
Show bitpacking in offset column in buffer viewer
2022-05-25 17:02:27 +01:00
baldurk
9bde5324b6
Improve handling of enums in buffer viewer fixed variables
2022-05-25 17:02:10 +01:00
baldurk
397088a813
Remove some cbuffer considerations for regular buffer views
2022-05-23 16:33:21 +01:00
baldurk
444515c67a
Always treat vertex buffer formats as scalar packed
2022-05-23 16:33:00 +01:00
baldurk
c5a588d2e4
Fix texture-as-buffer view format string generation
2022-05-23 14:43:08 +01:00
baldurk
31feedd16d
Remove ShaderConstantDescriptor, inline into ShaderConstantType
...
* This struct was redundant isnce it was only ever used in the type and not
meaningfully accessed directly.
2022-05-20 14:15:31 +01:00
baldurk
2d8687e28e
Show parse errors on the line they occur
2022-05-20 14:15:31 +01:00
baldurk
abe645f031
Add support for saving and loading structure definitions
2022-05-20 14:15:30 +01:00
baldurk
4bb54d00dd
Show visible offsets and (optionally) padding in buffers. Closes #1664
2022-05-20 14:15:30 +01:00
baldurk
43fa3cd94b
Use BufferViewer for viewing constant buffers
...
* Unifying these views means that constant buffers have all the same
reformatting and it avoids having multiple paths for what is now effectively
the same control (a buffer can either have fixed data, repeating data, or
both)
2022-05-20 14:15:30 +01:00
baldurk
fcdcc9714b
Implement export options for fixed items in buffer view
2022-05-20 13:37:27 +01:00
baldurk
a36516c8a5
Explicitly handle unbounded arrays and display declared fixed vars
...
* GL and Vulkan allow buffers to have fixed variables before a trailing AoS
unbounded array. These fixed variables can't be easily displayed in a table
and previously we skipped them. Now we display these in a tree format.
* We also support formats which don't have an unbounded array at all and display
these just with the tree. This will allow the BufferViewer to subsume the
capabilities of the ConstantBufferPreviewer (though it needs to handle opaque
non-buffer-backed variables, and slot-following).
2022-05-20 13:37:26 +01:00
baldurk
ac886728ca
Don't use docking UI for raw buffer viewer mode
2022-05-20 13:37:26 +01:00
baldurk
97a3943cdd
Use packing rules when generating format strings for structs
...
* This allows the calling code to pass a hint of what packing is known or likely
to be used, meaning less generated manual offsetting/padding when the implicit
rules cover it.
2022-05-20 13:37:26 +01:00
baldurk
4dc7b3f8b7
Process packing rules when parsing formatting strings
...
* Instead of having a global tight/non-tight we now let the format string
specify the packing rules (defaulting to scalar - i.e. tight packing as
before), and use the resulting properties to calculate packing.
2022-05-20 13:37:26 +01:00
baldurk
cee4b25b28
Allow specifying offsets and struct strides manually with offsets
...
* Use these when generating buffer formatter strings instead of declaring manual
padding variables.
2022-05-20 13:37:26 +01:00
baldurk
a42f9edc3a
Add annotation for binary view
2022-05-20 13:37:26 +01:00
baldurk
0890afd70e
Specify rgb, hex, unorm/snorm and format packing as annotations
2022-05-20 13:37:26 +01:00
baldurk
cb49f21f2a
Support enums in buffer formatter
2022-05-20 13:37:26 +01:00
baldurk
2399c9d136
Add support for bitfield packing in the buffer viewer formatting
2022-05-20 13:37:25 +01:00
baldurk
cef00a102b
Add struct VarType and combine flags into single field
...
* This is not a space saving right now, but allows more flags to be added
without adding more storage.
2022-05-20 13:37:25 +01:00
baldurk
2fc0866c9f
Fix display of register names for matrix source variables
2022-05-09 11:32:11 +01:00
baldurk
8d34ea577d
Add some missing tooltips for event browser location buttons
2022-05-06 13:17:09 +01:00
baldurk
e5000ff91b
Handle source variables that map to non-existant debug variables
2022-05-04 15:47:04 +01:00
baldurk
d9c98f44f6
Fix stepping backwards working incorrectly with multiple location maps
2022-04-28 16:34:44 +01:00
baldurk
8aa0390948
Add string messages to returned result codes to display to user
...
* Most of the main entry points that can fail with relevant reasons now has a
way of specifying a message to return with it. This message can be displayed
to the user to give more information or context about an error.
2022-04-26 16:21:54 +01:00
baldurk
10dd4c194c
Update some tips that are out of date
2022-04-26 16:21:35 +01:00
Tatsuyuki Ishi
3d4cd457bd
foz: Encode sampleMask as array
2022-04-25 14:17:12 +01:00
Tatsuyuki Ishi
b0ff54fbcf
foz: Reconstruct specialization constants with correct layout
2022-04-25 14:17:12 +01:00
Tatsuyuki Ishi
a2d77f58db
foz: Rename dynamic rendering colorAttachmentFormats
2022-04-25 14:17:12 +01:00
baldurk
1ae2afc05a
Apply shader prefix even if encoding is directly accepted. Closes #2561
...
* The prefix, if available, must always be applied for custom shaders to compile
correctly.
2022-04-22 12:55:40 +01:00
baldurk
1201d47db4
Fix tooltips for sampler variables in shader debugger
2022-04-21 00:58:15 +01:00
baldurk
0c672aff22
Set the conservative raster state display properly on vulkan
2022-04-19 12:51:26 +01:00
baldurk
dee3c37d90
Fix some edge cases when handling unsaved captures. Closes #2554
...
* The 'no to all' option should always be present if there are multiple unsaved
captures across the connections, even if the current connection only has one
capture and so otherwise wouldn't have a 'no to all' option.
* The 'no to all' option will always discard all unsaved captures in all
connections when closing the window, if the user clicks no on the confirmation
of this, abort the close operation entirely and let them decide how to handle
it (e.g. discarding/saving captures in connections individually).
2022-04-18 17:06:44 +01:00
baldurk
26585e9a1b
Fix arrayed resource bindings shader debug variables. Closes #2550
2022-04-18 17:06:44 +01:00
baldurk
be38f45171
Fix handling of split-register matrix source variables. Closes #2536
2022-04-11 12:57:10 +01:00
baldurk
9c1eeed29b
Fix copy-paste error with GLSL unsigned integer texture declarations
2022-03-30 12:51:36 +01:00
baldurk
378cad24bd
Fix some missing comments in custom shader snippet generation
2022-03-30 12:48:38 +01:00
Benoit Dumesnil
dfd00b1e38
Add support for shader model 6.6 bindless resources.
2022-03-21 11:30:47 +00:00
baldurk
f4d9cf2b7e
Fix UAV slot matching for D3D11 with merged UAV/RTV bindings
2022-03-17 18:10:05 +00:00