Jeremy Pritts
958b831205
Bump version and add source link
1.3.0.0
2023-07-01 14:22:50 -04:00
Jeremy Pritts
2085dbcce4
Add methods to DirectBitmap
2023-07-01 14:16:50 -04:00
Jeremy Pritts
d6ad4d5a6f
More ETC memory safety
2023-07-01 14:01:24 -04:00
Jeremy Pritts
1a5ca1405e
Validate ASTC block dimensions
2023-07-01 13:56:53 -04:00
Jeremy Pritts
d5da591f92
Use PolySharp instead of Nullable and IsExternalInit
2023-07-01 12:27:04 -04:00
Jeremy Pritts
dd129401c7
Use ArrayPool when decompressing Bc4 and Bc5
2023-06-30 00:51:57 -04:00
Jeremy Pritts
6855b6b287
Decompress Bc6h as Half instead of float:
...
* Half is the "natural" decompression result
* Avoids converting pixels twice
2023-06-30 00:34:28 -04:00
Jeremy Pritts
0274cb1a05
Use BinaryPrimitives instead of MemoryMarshal
2023-06-29 23:55:58 -04:00
Jeremy Pritts
e3e7779739
Small optimizations:
...
* Make mode a readonly variable
* Cache ActualBitsCount
* Unquantize in a separate pass
2023-06-29 23:36:34 -04:00
Jeremy Pritts
40326e20bc
Move CompressedSize methods and BlockSize constants
2023-06-29 22:57:18 -04:00
Jeremy Pritts
fa94774143
Separate BcDecoder into 7 classes
2023-06-29 22:45:23 -04:00
Jeremy Pritts
58b113e1e0
Remove some unnecessary variable assignments
2023-06-29 22:28:59 -04:00
Jeremy Pritts
862995196f
Use stackalloc in Bc6h
2023-06-29 22:21:45 -04:00
Jeremy Pritts
691796b919
Small refactor:
...
* Use properties instead of fields
* Add lengths to BC array initializers
2023-06-29 22:08:20 -04:00
dependabot[bot]
a6f54dd9b1
Bump Microsoft.NET.Test.Sdk from 17.6.2 to 17.6.3
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.6.2 to 17.6.3.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.6.2...v17.6.3 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-06-28 07:47:26 -04:00
Jeremy Pritts
fe93d46a6c
Resolve #19
2023-06-22 11:41:18 -04:00
Jeremy Pritts
7c6ac4ba0e
Support double precision channels
2023-06-22 10:45:36 -04:00
Jeremy Pritts
977800b5bb
Update csproj file
2023-06-21 09:59:10 -04:00
dependabot[bot]
f9c8dd980f
Bump Microsoft.NET.Test.Sdk from 17.6.1 to 17.6.2
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.6.1 to 17.6.2.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.6.1...v17.6.2 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-06-06 22:06:06 -04:00
dependabot[bot]
aea23c3be6
Bump Microsoft.NET.Test.Sdk from 17.5.0 to 17.6.1
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.5.0 to 17.6.1.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.5.0...v17.6.1 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-06-01 22:31:56 -04:00
dependabot[bot]
6b65475bc1
Bump coverlet.collector from 3.2.0 to 6.0.0
...
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet ) from 3.2.0 to 6.0.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases )
- [Commits](https://github.com/coverlet-coverage/coverlet/compare/v3.2.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: coverlet.collector
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-05-31 06:06:49 -04:00
dependabot[bot]
4835e38ec6
Bump NUnit3TestAdapter from 4.4.2 to 4.5.0
...
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter ) from 4.4.2 to 4.5.0.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases )
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V4.4.2...V4.5.0 )
---
updated-dependencies:
- dependency-name: NUnit3TestAdapter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-05-31 06:04:34 -04:00
dependabot[bot]
874bef99eb
Bump actions/setup-dotnet from 3.1.0 to 3.2.0
...
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/actions/setup-dotnet/releases )
- [Commits](https://github.com/actions/setup-dotnet/compare/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: actions/setup-dotnet
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-05-29 22:10:00 -04:00
dependabot[bot]
6908984ff2
Bump actions/setup-dotnet from 3.0.3 to 3.1.0
...
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet ) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/actions/setup-dotnet/releases )
- [Commits](https://github.com/actions/setup-dotnet/compare/v3.0.3...v3.1.0 )
---
updated-dependencies:
- dependency-name: actions/setup-dotnet
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-05-25 23:14:49 -04:00
Jeremy Pritts
f012b3a4d9
Add program for integer conversion
...
* Related to #19
2023-03-15 15:54:11 -04:00
dependabot[bot]
541176ad79
Bump NUnit.Analyzers from 3.6.0 to 3.6.1
...
Bumps [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers ) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/nunit/nunit.analyzers/releases )
- [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.txt )
- [Commits](https://github.com/nunit/nunit.analyzers/compare/3.6.0...3.6.1 )
---
updated-dependencies:
- dependency-name: NUnit.Analyzers
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-03-15 12:56:53 -04:00
dependabot[bot]
a44a788060
Bump NUnit3TestAdapter from 4.3.1 to 4.4.2
...
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter ) from 4.3.1 to 4.4.2.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases )
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V4.3.1...V4.4.2 )
---
updated-dependencies:
- dependency-name: NUnit3TestAdapter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-03-01 22:19:35 -05:00
dependabot[bot]
5c937aca17
Bump Microsoft.NET.Test.Sdk from 17.4.1 to 17.5.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.4.1 to 17.5.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.4.1...v17.5.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-02-22 13:59:17 -05:00
dependabot[bot]
04b086c372
Bump NUnit.Analyzers from 3.5.0 to 3.6.0
...
Bumps [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers ) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/nunit/nunit.analyzers/releases )
- [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.txt )
- [Commits](https://github.com/nunit/nunit.analyzers/compare/3.5.0...3.6.0 )
---
updated-dependencies:
- dependency-name: NUnit.Analyzers
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-02-22 13:59:07 -05:00
dependabot[bot]
99b5d670f3
Bump BenchmarkDotNet from 0.13.4 to 0.13.5
...
Bumps [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet ) from 0.13.4 to 0.13.5.
- [Release notes](https://github.com/dotnet/BenchmarkDotNet/releases )
- [Commits](https://github.com/dotnet/BenchmarkDotNet/compare/v0.13.4...v0.13.5 )
---
updated-dependencies:
- dependency-name: BenchmarkDotNet
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-02-20 22:58:37 -05:00
dependabot[bot]
53beeff97e
Bump BenchmarkDotNet from 0.13.3 to 0.13.4
...
Bumps [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet ) from 0.13.3 to 0.13.4.
- [Release notes](https://github.com/dotnet/BenchmarkDotNet/releases )
- [Commits](https://github.com/dotnet/BenchmarkDotNet/compare/v0.13.3...v0.13.4 )
---
updated-dependencies:
- dependency-name: BenchmarkDotNet
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2023-01-15 22:16:24 -05:00
dependabot[bot]
c566ecc668
Bump BenchmarkDotNet from 0.13.2 to 0.13.3
...
Bumps [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet ) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/dotnet/BenchmarkDotNet/releases )
- [Commits](https://github.com/dotnet/BenchmarkDotNet/compare/v0.13.2...v0.13.3 )
---
updated-dependencies:
- dependency-name: BenchmarkDotNet
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-12-27 13:41:44 -05:00
dependabot[bot]
3d3746e2d7
Bump Microsoft.NET.Test.Sdk from 17.4.0 to 17.4.1
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.4.0 to 17.4.1.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md )
- [Commits](https://github.com/microsoft/vstest/compare/v17.4.0...v17.4.1 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-12-27 13:41:36 -05:00
ds5678
cd37722a53
Delete .gitattributes
2022-11-23 23:14:11 -05:00
Jeremy Pritts
7cea861443
Refactor source generation to include the RGB console method
2022-11-23 19:06:54 -05:00
Jeremy Pritts
fb48fa3b94
Add back support for earlier .NET versions, which was previously removed in 92d1909562
2022-11-23 16:18:31 -05:00
dependabot[bot]
a6bc637d47
Bump NUnit3TestAdapter from 4.3.0 to 4.3.1
...
Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter ) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases )
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V4.3.0...V4.3.1 )
---
updated-dependencies:
- dependency-name: NUnit3TestAdapter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-11-20 21:39:16 -05:00
Jeremy Pritts
ba40e2c7d7
Use .NET 7 in the GitHub workflow
2022-11-17 20:09:56 -05:00
Jeremy Pritts
e2fba56e81
More optimized code generation:
...
* Use Half.One instead of (Half)1
* No generic instantiation for GetChannels or SetChannels
* In SetChannels, only set properties that are actually used
2022-11-17 19:47:13 -05:00
Jeremy Pritts
92d1909562
Bump to .NET 7
2022-11-17 19:27:19 -05:00
dependabot[bot]
bb346aabbc
Bump Microsoft.NET.Test.Sdk from 17.3.2 to 17.4.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.3.2 to 17.4.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v17.3.2...v17.4.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected] >
2022-11-11 10:41:19 -05:00
Jeremy Pritts
18abd1731b
Standardize naming for floating point rgb formats
2022-11-07 09:58:53 -05:00
Naomi
b4ad9bcb39
Add R11G11B10FloatToBGRA32 ( #17 )
...
* Add R11G11B10FloatToBGRA32 and ColorRGB32Half
* Requested changes.
* spaces to tabs
* Assert.Multiple
2022-11-06 23:26:54 -05:00
Jeremy Pritts
e4c873b3b0
Use unsigned bitwise logic in UInt4Pair
2022-11-05 12:30:59 -04:00
Jeremy Pritts
9c89b6fac5
Add a UInt4Pair struct to clean up code in ARGB16 and RGBA16
2022-11-05 12:26:53 -04:00
Jeremy Pritts
ce581c0ea6
Lossless conversion tests
2022-11-05 12:00:14 -04:00
Jeremy Pritts
b992959c24
Find ChannelType implicitly in GenerationData
2022-11-05 11:58:10 -04:00
Jeremy Pritts
07c653873b
Add an RgbaAttribute to all RGB formats
2022-11-05 00:03:58 -04:00
Jeremy Pritts
03373afddb
Clean up the color source generator
2022-11-04 23:41:15 -04:00
Jeremy Pritts
35ed50dc26
Signed RGB color support with new source generation for standard RGB formats
2022-11-04 21:06:28 -04:00