You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Handle the case where VRS is a two byte per pixel format when creating default VRS texture
This commit is contained in:
@@ -987,7 +987,6 @@ protected:
|
||||
|
||||
static const uint32_t TEXTURE_SAMPLES_COUNT[TEXTURE_SAMPLES_MAX];
|
||||
|
||||
static uint32_t get_image_format_pixel_size(DataFormat p_format);
|
||||
static void get_compressed_image_format_block_dimensions(DataFormat p_format, uint32_t &r_w, uint32_t &r_h);
|
||||
uint32_t get_compressed_image_format_block_byte_size(DataFormat p_format) const;
|
||||
static uint32_t get_compressed_image_format_pixel_rshift(DataFormat p_format);
|
||||
@@ -1009,6 +1008,12 @@ protected:
|
||||
static uint32_t get_format_vertex_size(DataFormat p_format);
|
||||
|
||||
public:
|
||||
/*****************/
|
||||
/**** TEXTURE ****/
|
||||
/*****************/
|
||||
|
||||
static uint32_t get_image_format_pixel_size(DataFormat p_format);
|
||||
|
||||
/****************/
|
||||
/**** SHADER ****/
|
||||
/****************/
|
||||
|
||||
Reference in New Issue
Block a user