baldurk
4f06161fb9
Update template custom shader to include UV, add new globals. Refs #304
2016-07-26 15:18:45 +02:00
baldurk
fbcd79b27d
Don't create thumbnails until output has been created
2016-07-25 18:27:21 +02:00
baldurk
ba7c6711ff
Hide *all* remaining thumbnails after setting the visible ones up
2016-07-25 18:27:17 +02:00
baldurk
170df95924
Make usage entries menu items not labels, to be clickable
2016-07-25 18:27:16 +02:00
baldurk
eaa53adbc3
For locked textures, reset type hint so they don't inherit from previous
2016-07-25 18:27:13 +02:00
baldurk
54ea69a619
Always enable custom shaders create button, prompt for name. Refs #304
2016-07-25 11:39:47 +02:00
baldurk
12a51ee5a4
Save display type (RGB vs custom) and custom shader per-tex. Refs #304
2016-07-25 11:39:46 +02:00
baldurk
5b74d2f90a
Add a little Ctrl-G popup on the texture viewer to jump to a pixel
2016-07-22 12:28:26 +02:00
baldurk
bde21b0c73
Render custom shaders at the selected mip level. Refs #302
2016-07-19 20:40:11 +02:00
baldurk
2b5e37b442
Make handling of mips more consistent around locked textures. Refs #292
2016-07-12 19:22:17 +02:00
baldurk
2a68153def
Make sure resource context menu items are large enough
2016-07-12 19:00:37 +02:00
baldurk
123476fd30
Allow fetching view params (bound mip, etc) for copy/compute. Refs #292
2016-07-12 18:48:03 +02:00
baldurk
53d739c659
Add fallback if miplevel doesn't have a selected value
2016-07-12 18:41:51 +02:00
baldurk
80b61b2e37
Fix picked pixel co-ordinates as well as hover co-ords. Refs #300
2016-07-12 18:39:10 +02:00
baldurk
e12d789a83
Fix incorrect use of texture height instead of mip. Refs #300
2016-07-11 18:54:22 +02:00
baldurk
ce2b7a88d3
Remove redundant word
2016-07-11 11:54:58 +02:00
baldurk
49dc23cb7e
Add compatibility for loading old layouts with bad checkerboard colours
2016-07-11 11:28:24 +02:00
baldurk
6608a965ed
Fix sRGB handling on clear colours
2016-07-10 18:10:06 +02:00
baldurk
4268d8f58f
Remove structure size and redundant 32-bit length field from FetchBuffer
2016-07-10 18:10:02 +02:00
baldurk
e8b3400ebb
Fix crash if tex doesn't have any settings yet
2016-06-28 11:38:07 +02:00
baldurk
edbd1ce89b
Pass through view format as a type hint to texture display/sampling
...
* This is only applicable really on D3D11 where the underlying texture
can be typeless, and a default interpretation as unorm/float won't
necessarily how the texture is actually being used.
2016-06-27 12:10:21 +02:00
EecheE
e160457abb
Fixed null exception if Reset01 is clicked with no active texture.
2016-06-26 12:26:00 +02:00
EecheE
c52e763e8c
Changed default histogram range to [-1,+1] for snorm textures.
...
If viewing a SNORM texture, default histogram range is set to [-1,1]
instead of [0,1].
Added support for BC5U .dds fourcc code.
2016-06-25 17:14:41 -07:00
baldurk
3f4ec852ba
Pass through image layouts for vulkan and display in tooltips. Refs #199
...
* Semi experimental for now - I'm not convinced that having a tooltip
for every image element is the best UI. It will need some iteration.
2016-06-24 17:54:41 +02:00
baldurk
6ddba5f0ad
Don't default to max zoom when there's no current texture.
2016-06-09 10:49:04 -07:00
baldurk
65d407d5a8
Prevent custom shaders being added to the list twice
2016-06-09 10:49:00 -07:00
baldurk
306ebd1ad7
Fix a backwards compatibility issue causing some panels to go missing
2016-06-01 19:02:45 +02:00
baldurk
b74ad435e5
Add a 1:1 (zoom 100%) button. Refs #272
2016-05-26 23:58:58 +02:00
baldurk
274dbcd4ef
Remove unnecessary double-calls of OnLogfileLoaded(). Refs #267
2016-05-04 21:52:31 +02:00
baldurk
dc6962adee
Fix a crash if no texture is current when clicking view as buffer
2016-04-17 18:50:14 +02:00
baldurk
70b99a4412
Remove antiquated 'multiple frames in one capture' support.
...
* Cleans up the code a bunch, this support is unlikely to ever return
and if it does it will need a rethink anyway.
2016-04-13 00:28:09 +02:00
baldurk
009bfb2c74
Where possible apply offs/len knowledge when viewing buffers. Refs #224
2016-04-02 15:39:27 +02:00
baldurk
df5def2182
Add a "load texture as a buffer view" button. Refs #141
...
* This isn't a complete fix as the buffer gridview doesn't support 100s
or 1000s of columns, but it's a start and could be useful in some
cases.
2016-02-24 00:43:57 +01:00
baldurk
1f1694af4f
Keep pan consistent when switching between integer multiple textures
...
* Basically for downsample chains and the like, the pixels should now
exactly line up with each other rather than shifting back and forth.
2016-02-21 16:37:58 +01:00
baldurk
49669d676e
Identify depth textures by depth format, not just having DSV flag
2016-02-21 15:36:05 +01:00
baldurk
6bff873bf1
Fix incorrect calculation (off by one) when picking pixels & y-flipped
2016-02-19 11:08:36 +01:00
baldurk
2e0ffa7813
Batch update copyright years everywhere
2016-02-07 18:50:45 +01:00
baldurk
a41104bbd0
Display/report compute resources correctly
2016-02-07 18:50:11 +01:00
baldurk
6959d45d44
Tweak resource usage menu to group things a little more aggressively
2016-02-07 18:50:06 +01:00
baldurk
5c309d9d34
Refactor handling of resources/binding to be much more flexible
...
* This will handle the new vulkan binding model with multiple descriptor
sets and arrays of objects in each binding. It also makes a few tidy
ups and improvements to other APIs in presentation - will e.g. now
show thumbnails for vertex and other stages.
2016-02-07 18:46:40 +01:00
baldurk
6051f0c500
Split 'Resources' shader array into readonly/readwrite arrays
...
* This is preparation for a following commit, might not work on its own
(mostly untested - just compiling).
2016-02-07 18:46:39 +01:00
baldurk
ba8114936e
Render mesh displays as 4x MSAA to make the line rendering a bit nicer
2016-02-07 18:46:23 +01:00
baldurk
9d3202ae5f
Don't conflict between C# UI and replay output flipping pixel context
2016-02-07 18:43:46 +01:00
baldurk
4336722e34
Tidy up FetchTexture data for vulkan, fill out all fields properly
2016-02-07 18:43:35 +01:00
baldurk
313f53a820
Remove stored fake backbuffer data, display backbuffer on present calls
2016-02-07 18:43:34 +01:00
baldurk
238efe31f1
List resources for texture viewer to pick up
2016-02-07 18:42:11 +01:00
baldurk
4e113a08c7
Hack out handling of vulkan pipeline type in texture viewer
2016-02-07 18:41:30 +01:00
baldurk
4ed49079d1
Re-enable thumbnails and pixel context, as multiple swap chains work now
2016-02-07 18:41:29 +01:00
baldurk
2b67894bdb
Temporarily disable thumbnails and pixel context
...
* just until multiple swapchains is working
2016-02-07 18:39:03 +01:00
baldurk
665b4743c6
Fix stupid damned scrollbars that don't actually go up to their maximum
2015-11-18 23:36:17 +01:00