Unknown W. Brackets
|
edb79d968f
|
softgpu: Cache CLUT params in sampler state.
And now there's no more gstate for pixel drawing or sampling. Just a
little left in rasterization.
|
2022-01-15 18:09:09 -08:00 |
|
Unknown W. Brackets
|
ad3635c82a
|
softgpu: Move tex size to cached state.
|
2022-01-15 17:22:43 -08:00 |
|
Unknown W. Brackets
|
a228b2ab6c
|
softgpu: Use cached sampler state outside jit.
|
2022-01-15 15:26:26 -08:00 |
|
Unknown W. Brackets
|
d5c5e9478e
|
softgpu: Prepare more state per prim call.
|
2022-01-10 22:12:35 -08:00 |
|
Unknown W. Brackets
|
72aa4be879
|
samplerjit: Skip processing alpha if unused.
|
2022-01-09 12:23:55 -08:00 |
|
Unknown W. Brackets
|
26e7768a67
|
samplerjit: Remove old linear nearest paths.
We only use it for DXT now, so let's not keep the dead code around.
|
2022-01-02 17:28:52 -08:00 |
|
Unknown W. Brackets
|
7806dfddea
|
samplerjit: Use VPGATHERDD for all types.
|
2022-01-02 17:19:18 -08:00 |
|
Unknown W. Brackets
|
ce6ea8da11
|
samplerjit: Apply gather lookup to all CLUT4.
|
2022-01-02 17:19:18 -08:00 |
|
Unknown W. Brackets
|
22f770c828
|
samplerjit: Use VPGATHERDD for simple CLUT4 loads.
Planning to expand this to more paths.
|
2022-01-02 17:19:17 -08:00 |
|
Henrik Rydgård
|
d3f0af7458
|
Merge pull request #15273 from unknownbrackets/softjit-bloom
Optimize software renderer handling of common bloom operations
|
2022-01-02 18:11:07 +01:00 |
|
Unknown W. Brackets
|
a259761262
|
samplerjit: Use nearest func in fast path too.
This uses the more optimal tex funcs.
|
2022-01-02 08:48:16 -08:00 |
|
Unknown W. Brackets
|
0eec4e7e4d
|
samplerjit: Decode colors in parallel.
Not used in a ton of games, but a decent improvement where it is used.
|
2022-01-02 08:27:55 -08:00 |
|
Unknown W. Brackets
|
7060035303
|
samplerjit: Implement nearest in jit.
This uses the tex func and similar within jit.
|
2022-01-01 16:58:05 -08:00 |
|
Unknown W. Brackets
|
91c9343e87
|
samplerjit: Refactor and reuse constant pool.
It's just here to be rip accessible, the fixed values can be output just
once.
|
2022-01-01 16:58:05 -08:00 |
|
Unknown W. Brackets
|
40240be91c
|
samplerjit: Update nearest args, temp disable jit.
This temporarily disables jit for nearest, but refactors to use the new
arg structure. It now matches linear.
|
2022-01-01 16:58:05 -08:00 |
|
Unknown W. Brackets
|
06e954fe2a
|
samplerjit: Create a separate fetch func.
This allows nearest to become more similar to linear, where it applies the
texture function.
|
2022-01-01 16:58:04 -08:00 |
|
Unknown W. Brackets
|
3bc6009158
|
samplerjit: Refactor sampler ID calculation.
Make it the same as pixel func IDs.
|
2022-01-01 16:58:04 -08:00 |
|
Unknown W. Brackets
|
6aec68aa5c
|
samplerjit: Correct wrong bufw at mip levels.
Oops, was always using the base bufw.
|
2022-01-01 16:40:02 -08:00 |
|
Unknown W. Brackets
|
1addf84e90
|
samplerjit: Use SSSE3/SSE4 in linear filtering.
|
2021-12-30 23:22:56 -08:00 |
|
Unknown W. Brackets
|
28cfbe0e5a
|
samplerjit: Add an alternate profiling method.
This is more useful to group common operations together for profiling.
|
2021-12-29 07:11:39 -08:00 |
|
Unknown W. Brackets
|
74eb450e76
|
samplerjit: Move texture function into jit.
Could do this also for nearest, might end up with a third set of functions
there for a direct sample lookup (for debug funcs.)
|
2021-12-28 17:52:17 -08:00 |
|
Unknown W. Brackets
|
940e6bb1d7
|
samplerjit: Lookup both mip tex values.
|
2021-12-28 16:22:54 -08:00 |
|
Unknown W. Brackets
|
6b55d328e5
|
samplerjit: Use regcache for linear filtering.
This makes it easier to reuse for mipmap filtering.
|
2021-12-28 15:37:25 -08:00 |
|
Unknown W. Brackets
|
cdf14c8579
|
samplerjit: Calculate mip level U/V/offsets.
Not actually doing the sampling for the second mip level in the single jit
pass yet, but close.
|
2021-12-28 14:12:58 -08:00 |
|
Unknown W. Brackets
|
a4558a5736
|
samplerjit: Take texptr/bufw as arrays.
Prep for moving mip map sampling into linear.
|
2021-12-28 12:04:16 -08:00 |
|
Unknown W. Brackets
|
4864850b3b
|
samplerjit: Handle mipmap width/height in S/T calc.
|
2021-12-28 11:29:29 -08:00 |
|
Unknown W. Brackets
|
a84accf713
|
samplerjit: Move S/T calculation into jit.
Gives a pretty decent 5-10% improvement in many places.
|
2021-12-28 09:58:23 -08:00 |
|
Unknown W. Brackets
|
820361f34b
|
samplerjit: Calculate texel byte offset as vector.
|
2021-12-27 11:37:32 -08:00 |
|
Unknown W. Brackets
|
b00a66e34c
|
samplerjit: Pass u/v coords as vector.
|
2021-12-27 11:37:32 -08:00 |
|
Unknown W. Brackets
|
ce3e29a649
|
softjit: Fix a function arg template warning.
We're just ignoring it because it's a false positive in this case.
|
2021-12-11 10:45:27 -08:00 |
|
Unknown W. Brackets
|
823c4adb15
|
softgpu: Keep arguments in vectors for sampling.
|
2021-12-04 15:45:06 -08:00 |
|
Unknown W. Brackets
|
d7c25b3e7c
|
samplerjit: Refactor nearest using reg cache.
|
2021-12-04 13:04:53 -08:00 |
|
Unknown W. Brackets
|
96a7554053
|
sofjit: Move common types to reg cache header.
This makes it easier to use vectors elsewhere.
|
2021-11-28 08:03:15 -08:00 |
|
Unknown W. Brackets
|
953200c995
|
softgpu: Add func to calculate pixel func ID.
This normalizes some things, and eventually can be used for a jit key.
|
2021-11-20 15:27:04 -08:00 |
|
Unknown W. Brackets
|
c4de5bfb9f
|
softgpu: Implement DXT3 in samplerx86.
|
2021-09-12 14:53:55 -07:00 |
|
Unknown W. Brackets
|
ee9d19430f
|
softgpu: Implement DXT1 decoding in samplerx86.
|
2021-09-12 13:57:28 -07:00 |
|
Unknown W. Brackets
|
cb3db559bd
|
SoftGPU: Jit the linear sampling too.
For now, just reducing overhead. Could be smarter.
|
2017-05-30 22:57:46 -07:00 |
|
Unknown W. Brackets
|
fa0ded4a76
|
SoftGPU: Reduce sampler id fuzz.
|
2017-05-30 22:57:45 -07:00 |
|
Unknown W. Brackets
|
ffcfa0a824
|
SoftGPU: Specialize CLUT4 jit.
This version is a bit faster and cleaner.
|
2017-05-30 22:57:44 -07:00 |
|
Unknown W. Brackets
|
9a82ae3425
|
SoftGPU: Reduce overhead in sampler jit.
|
2017-05-30 22:57:43 -07:00 |
|
Unknown W. Brackets
|
2233ab073d
|
SoftGPU: Expose jit cache for profiling.
|
2017-05-30 22:57:42 -07:00 |
|
Unknown W. Brackets
|
cf32949183
|
SoftGPU: Jit CLUT lookup.
|
2017-05-30 22:57:41 -07:00 |
|
Unknown W. Brackets
|
a8a6b2cd8a
|
SoftGPU: Jit swizzled texel lookup.
|
2017-05-30 22:57:40 -07:00 |
|
Unknown W. Brackets
|
fd4c64d43d
|
SoftGPU: Refactor out texture format logic.
This could actually be shared, nothing x86 specific...
|
2017-05-30 22:57:38 -07:00 |
|
Unknown W. Brackets
|
94920ec156
|
SoftGPU: Implement basic jit structure.
|
2017-05-30 22:57:38 -07:00 |
|
Unknown W. Brackets
|
1b491fe156
|
SoftGPU: Stub a jit for texel fetch.
|
2017-05-30 22:57:30 -07:00 |
|
Unknown W. Brackets
|
d5426e4360
|
SoftGPU: Move sampler code to a dedicated file.
|
2017-05-30 22:53:23 -07:00 |
|