baldurk
207852bb15
Disable linked shaderc as vulkan SDK copy now links /MTD
...
* We'll probably want to add support for optionally compiling in a linked
shaderc that we build ourselves now.
2020-04-20 13:25:02 +01:00
baldurk
6aec92840f
Integrate RGA 2.3.1 and add support for Navi 14
2020-04-20 13:24:28 +01:00
baldurk
c572ad2ed8
Fix HLSL edit stub generation with system values
2020-04-20 12:00:37 +01:00
baldurk
d15b0a3c3a
Default initialise TextureSwizzle4 with RGBA swizzle
2020-04-20 11:14:03 +01:00
baldurk
f2d69e9f9e
Fix handling of ResourceMinLODClamp for cubemap textures on D3D12
2020-04-20 11:05:40 +01:00
baldurk
058f437974
Use the correct VarType when creating resource source mappings
2020-04-20 11:05:25 +01:00
baldurk
f5b555dc1c
Fix intel vulkan driver version decoding on windows
2020-04-20 10:53:13 +01:00
baldurk
f3a413149a
Fix TextureSwizzle conversion helper function
2020-04-17 18:30:56 +01:00
baldurk
91de355955
Add a helper to dump objects with dir() and bypass swig's repr
2020-04-17 17:32:57 +01:00
baldurk
2980742a3a
Add wrapper struct TextureSwizzle4 to be more swig-friendly
...
* Swig doesn't like having fixed C arrays of enums, so wrap it in a struct to
make it more clear.
2020-04-17 16:53:54 +01:00
baldurk
1ec3320e99
Don't bounds check instruction numbers against disassembly line count
2020-04-17 16:52:35 +01:00
baldurk
67edb36efc
Make sure shader step always lands on a valid non-ignored instruction
...
* We want to always skip any ignored instructions (like OpLine etc) before
returning a step, so that the next time we start a step it's always on a valid
instruction.
2020-04-17 16:32:04 +01:00
baldurk
e16bed7fa2
Fix wrong structure stride being used fetching hits in pixel debug
2020-04-17 16:31:15 +01:00
baldurk
83c7350e4a
Implement remaining image sampling operations
2020-04-16 18:42:03 +01:00
baldurk
143f2bf054
Fix access to texel buffers
2020-04-16 18:41:59 +01:00
baldurk
7082f4eb44
Implement image dimension query opcodes
2020-04-16 18:41:59 +01:00
baldurk
9d5d9fa0bb
Default to lod 0 if lod parameter is missing
2020-04-16 18:41:58 +01:00
baldurk
831ffbf226
Add different OpCopy* opcodes
2020-04-16 18:41:58 +01:00
baldurk
f2cb1ddc53
Implement remaining bit twiddling operations
2020-04-16 18:41:58 +01:00
baldurk
a725a4e278
Add support for extended int math functions (with borrow/carry/overflow)
2020-04-16 18:41:58 +01:00
baldurk
60258bd57b
Implement private variable storage
2020-04-16 18:41:58 +01:00
baldurk
2556614eb5
We support 3 parameter math ops on the GPU
2020-04-16 18:41:58 +01:00
baldurk
e34183d887
Add support for GLSL ops with struct/pointer outputs
...
* This is the functions that return multiple values - Modf/ModfStruct and
Frexp/FrexpStruct
2020-04-16 18:41:58 +01:00
baldurk
6ebd752a9d
Hold onto ShaderDebugState pointer inside ThreadState during SetDst
...
* This avoids needing to pass it down to all possible child functions that might
need it.
2020-04-16 18:19:08 +01:00
baldurk
217a693487
Add support for misc math GLSL opcodes that don't have struct variants
...
* step, smoothstep
* ldexp
* fma
* faceforward, reflect
2020-04-16 18:19:08 +01:00
cperthuisoc
0df63aa8d0
Added system packages as hidden folders in the Executable Path dialog
...
android-only change
2020-04-16 18:18:52 +01:00
cperthuisoc
827c2c24f8
Fixed the launch of adb when using the Android SDK path on Windows
2020-04-16 18:18:40 +01:00
baldurk
1db2947c86
Drop constexpr to work around gcc 5 compiler bug
2020-04-15 21:29:19 +01:00
baldurk
1f23e28893
Enable gather operations for all texture dimensions
2020-04-15 20:33:58 +01:00
baldurk
137a613179
Support pushing operations with limited precision over to the GPU
...
* This is primarily transcendentals - sqrt, pow, sin/cos, etc. It also includes
operations derived from those (like length/normalize/etc)
2020-04-15 20:33:57 +01:00
baldurk
d889ba7513
Implement OpKill support
2020-04-15 20:33:57 +01:00
baldurk
c91414782a
Implement some easy to support extensions
2020-04-15 20:33:57 +01:00
baldurk
def5476cf2
Add tests for NMin/NMax/NClamp
2020-04-15 20:33:57 +01:00
baldurk
c4437f6be0
Add logical comparisons and any/all operators
2020-04-15 20:33:57 +01:00
baldurk
44f46b6ae9
Clamp buffer offset for mesh view input
...
* If the calculated offset is larger than the buffer size we should be sure to
clamp it.
2020-04-15 20:33:57 +01:00
baldurk
62bb77a9b6
Initialise indirect parameter values to 0
2020-04-15 20:33:57 +01:00
baldurk
d76e944799
Implement radians/degrees conversion functions
2020-04-15 20:33:57 +01:00
baldurk
c3a5d99bc0
Add support for matrix operations (transpose/determinant/inverse)
2020-04-15 20:33:57 +01:00
baldurk
26f5b6a4b4
Implement more rounding-related GLSL extended instructions
2020-04-15 20:33:57 +01:00
baldurk
39ed21c12f
Process lifetime of Id params to GLSL ExtInsts
2020-04-15 20:33:57 +01:00
baldurk
eeef227923
Properly process which capabilities are supported and which aren't
2020-04-15 20:33:56 +01:00
baldurk
ca7c1bbba9
Support push constants the same as constant buffer data
2020-04-15 20:33:56 +01:00
baldurk
f4e141e843
Handle invalid pointers in create info when viewport state is dynamic
2020-04-15 20:33:56 +01:00
Aliya Pazylbekova
772905c4d3
Basic Vulkan pixel history test
...
+ a small pixel history fix for figuring out if depth test failed
- the test demo is based on overlay demo, with a few modifications so
far: added a draw that will fail on culling, added shader discard for
any pixel with x = 150
- tests some basic failed tests: stencil, depth, culling, shader discard
2020-04-14 23:06:28 +01:00
baldurk
59688bfc4e
Give better default names to unnamed global variables
2020-04-14 18:25:55 +01:00
baldurk
8e082ae109
Preserve order when combining structures in shader viewer
2020-04-14 18:25:18 +01:00
baldurk
07f60abf9e
Implement OpIsNan and OpIsInf
2020-04-14 18:02:10 +01:00
baldurk
22dcb1f539
Centralise calculation of derivatives, implement OpFwidth*
2020-04-14 17:55:29 +01:00
baldurk
139d53e5e1
Add some type variants of supported glsl450 functions
2020-04-14 17:41:32 +01:00
baldurk
91e7563d09
Add support for glsl450 min/max/clamp
2020-04-14 17:16:18 +01:00