diff options
Diffstat (limited to 'src/state.h')
-rw-r--r-- | src/state.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/state.h b/src/state.h index 2f02a20..95f636b 100644 --- a/src/state.h +++ b/src/state.h @@ -142,13 +142,19 @@ typedef struct state { VkDeviceMemory vertexBufferMemory; char model_path[1000]; + + VkSampleCountFlagBits msaa_samples; + + VkImage vk_color_image; + VkDeviceMemory vk_color_image_memory; + VkImageView vk_color_image_view; } state_t; static void init_state(state_t *s) { - strcpy(s->model_path, "assets/viking_room.obj"); + strcpy(s->model_path, "assets/monkey.obj"); s->camera.pos[0] = 2.0f; s->camera.pos[1] = 2.0f; s->camera.pos[2] = 2.0f; @@ -198,4 +204,6 @@ init_state(state_t *s) s->prev_frag_result = NULL; s->polygon_mode = VK_POLYGON_MODE_FILL; + + s->msaa_samples = VK_SAMPLE_COUNT_1_BIT; } |