Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
1d45a269
Unverified
Commit
1d45a269
authored
Apr 29, 2020
by
Rémi Verschelde
Committed by
GitHub
Apr 29, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #38302 from qarmin/format_set
RasterizerStorageRD: Don't override format value
parents
4b4fc2ea
ad6bcea4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
rasterizer_storage_rd.cpp
servers/rendering/rasterizer_rd/rasterizer_storage_rd.cpp
+0
-2
No files found.
servers/rendering/rasterizer_rd/rasterizer_storage_rd.cpp
View file @
1d45a269
...
...
@@ -131,7 +131,6 @@ Ref<Image> RasterizerStorageRD::_validate_texture_format(const Ref<Image> &p_ima
image
->
convert
(
Image
::
FORMAT_RGBAF
);
}
r_format
.
format
=
RD
::
DATA_FORMAT_R32G32B32A32_SFLOAT
;
r_format
.
swizzle_r
=
RD
::
TEXTURE_SWIZZLE_R
;
r_format
.
swizzle_g
=
RD
::
TEXTURE_SWIZZLE_G
;
r_format
.
swizzle_b
=
RD
::
TEXTURE_SWIZZLE_B
;
...
...
@@ -171,7 +170,6 @@ Ref<Image> RasterizerStorageRD::_validate_texture_format(const Ref<Image> &p_ima
image
->
convert
(
Image
::
FORMAT_RGBAH
);
}
r_format
.
format
=
RD
::
DATA_FORMAT_R16G16B16A16_SFLOAT
;
r_format
.
swizzle_r
=
RD
::
TEXTURE_SWIZZLE_R
;
r_format
.
swizzle_g
=
RD
::
TEXTURE_SWIZZLE_G
;
r_format
.
swizzle_b
=
RD
::
TEXTURE_SWIZZLE_B
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment